C# Class NLite.Data.Mapping.MemberMapping

Inheritance: IMemberMapping
ファイルを表示 Open project: netcasewqs/elinq

Public Methods

Method Description
GetValue ( object target ) : object
SetValue ( object target, object value ) : void
ToString ( ) : string

Private Methods

Method Description
GetReferencedMember ( string name, string sourceName, EntityMapping entity ) : IMemberMapping
GetReferencedMembers ( string names, string sourceName, EntityMapping entity ) : IMemberMapping[]
InitializeAssociationAttribute ( bool isEnumerableType, AbstractAssociationAttribute association ) : void
InitializeAttributeMapping ( MemberAttribute attribute, bool isEnumerableType ) : void
InitializeConversionMapping ( bool isEnumerableType ) : void

初始化约定映射

IntiailizeColumnAttribute ( ColumnAttribute column ) : void
MemberMapping ( MemberInfo member, MemberAttribute attribute, EntityMapping entity ) : System
OnNotify ( EntityMapping entityModel ) : void
PopulateEFDataAnnotitions ( ) : void

Method Details

GetValue() public method

public GetValue ( object target ) : object
target object
return object

SetValue() public method

public SetValue ( object target, object value ) : void
target object
value object
return void

ToString() public method

public ToString ( ) : string
return string