C# Class MongoDB.Bson.Serialization.Conventions.NamedIdMemberConvention

A convention that finds the id member by name.
Inheritance: ConventionBase, IClassMapConvention, IIdMemberConvention
Mostrar archivo Open project: egametang/Egametang Class Usage Examples

Private Properties

Property Type Description
FindIdMember string
IsValidIdMember bool

Public Methods

Method Description
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.

Private Methods

Method Description
FindIdMember ( Type type ) : string
IsValidIdMember ( BsonClassMap classMap, MemberInfo member ) : bool

Method Details

Apply() public method

Applies a modification to the class map.
public Apply ( BsonClassMap classMap ) : void
classMap BsonClassMap The class map.
return void

NamedIdMemberConvention() public method

Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention ( ) : System
return System

NamedIdMemberConvention() public method

Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention ( IEnumerable names ) : System
names IEnumerable The names.
return System

NamedIdMemberConvention() public method

Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention ( IEnumerable names, BindingFlags bindingFlags ) : System
names IEnumerable The names.
bindingFlags BindingFlags The binding flags.
return System

NamedIdMemberConvention() public method

Initializes a new instance of the NamedIdMemberConvention class.
public NamedIdMemberConvention ( IEnumerable names, MemberTypes memberTypes ) : System
names IEnumerable The names.
memberTypes MemberTypes The member types.
return System

NamedIdMemberConvention() public method

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.
return System