C# Класс MongoDB.Bson.Serialization.Conventions.NamedIdMemberConvention

A convention that finds the id member by name.
Наследование: ConventionBase, IClassMapConvention, IIdMemberConvention
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FindIdMember string
IsValidIdMember bool

Открытые методы

Метод Описание
Apply ( BsonClassMap classMap ) : void

Applies a modification to the class map.

NamedIdMemberConvention ( ) : System

Initializes a new instance of the NamedIdMemberConvention class.

NamedIdMemberConvention ( IEnumerable names ) : System

Initializes a new instance of the NamedIdMemberConvention class.

NamedIdMemberConvention ( IEnumerable names, BindingFlags bindingFlags ) : System

Initializes a new instance of the NamedIdMemberConvention class.

NamedIdMemberConvention ( IEnumerable names, MemberTypes memberTypes ) : System

Initializes a new instance of the NamedIdMemberConvention class.

NamedIdMemberConvention ( IEnumerable names, MemberTypes memberTypes, BindingFlags bindingFlags ) : System

Initializes a new instance of the NamedIdMemberConvention class.

Приватные методы

Метод Описание
FindIdMember ( Type type ) : string
IsValidIdMember ( BsonClassMap classMap, MemberInfo member ) : bool

Описание методов

Apply() публичный Метод

Applies a modification to the class map.
public Apply ( BsonClassMap classMap ) : void
classMap BsonClassMap The class map.
Результат void

NamedIdMemberConvention() публичный Метод

Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention ( ) : System
Результат System

NamedIdMemberConvention() публичный Метод

Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention ( IEnumerable names ) : System
names IEnumerable The names.
Результат System

NamedIdMemberConvention() публичный Метод

Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention ( IEnumerable names, BindingFlags bindingFlags ) : System
names IEnumerable The names.
bindingFlags BindingFlags The binding flags.
Результат System

NamedIdMemberConvention() публичный Метод

Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention ( IEnumerable names, MemberTypes memberTypes ) : System
names IEnumerable The names.
memberTypes MemberTypes The member types.
Результат System

NamedIdMemberConvention() публичный Метод

Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention ( IEnumerable names, MemberTypes memberTypes, BindingFlags bindingFlags ) : System
names IEnumerable The names.
memberTypes MemberTypes The member types.
bindingFlags BindingFlags The binding flags.
Результат System