C# Class MicroLite.Mapping.ExpandoObjectInfo

Inheritance: IObjectInfo
显示文件 Open project: TrevorPilley/MicroLite Class Usage Examples

Public Methods

Method Description
CreateInstance ( IDataReader reader ) : object
GetColumnInfo ( string columnName ) : ColumnInfo
GetIdentifierValue ( object instance ) : object
GetInsertValues ( object instance ) : SqlArgument[]
GetUpdateValues ( object instance ) : SqlArgument[]
HasDefaultIdentifierValue ( object instance ) : bool
IsDefaultIdentifier ( object identifier ) : bool
SetIdentifierValue ( object instance, object identifier ) : void
VerifyInstanceForInsert ( object instance ) : void

Method Details

CreateInstance() public method

public CreateInstance ( IDataReader reader ) : object
reader IDataReader
return object

GetColumnInfo() public method

public GetColumnInfo ( string columnName ) : ColumnInfo
columnName string
return ColumnInfo

GetIdentifierValue() public method

public GetIdentifierValue ( object instance ) : object
instance object
return object

GetInsertValues() public method

public GetInsertValues ( object instance ) : SqlArgument[]
instance object
return SqlArgument[]

GetUpdateValues() public method

public GetUpdateValues ( object instance ) : SqlArgument[]
instance object
return SqlArgument[]

HasDefaultIdentifierValue() public method

public HasDefaultIdentifierValue ( object instance ) : bool
instance object
return bool

IsDefaultIdentifier() public method

public IsDefaultIdentifier ( object identifier ) : bool
identifier object
return bool

SetIdentifierValue() public method

public SetIdentifierValue ( object instance, object identifier ) : void
instance object
identifier object
return void

VerifyInstanceForInsert() public method

public VerifyInstanceForInsert ( object instance ) : void
instance object
return void