C# Class Dapper.SimpleSave.DtoMetadata

Inheritance: BaseMetadata
Datei anzeigen Open project: Paymentsense/Dapper.SimpleSave Class Usage Examples

Public Methods

Method Description
DtoMetadata ( Type type ) : System
GetForeignKeyColumnFor ( Type dtoType ) : Dapper.SimpleSave.PropertyMetadata
GetPrimaryKeyValueAsGuid ( object obj ) : Guid?
GetPrimaryKeyValueAsInt ( object obj ) : int?
GetPrimaryKeyValueAsLong ( object obj ) : long?
GetPrimaryKeyValueAsObject ( object obj ) : object
SetPrimaryKey ( object obj, object value ) : void
this ( string propertyColumnNameCaseInsensitive ) : PropertyMetadata

Private Methods

Method Description
DeduplicateWriteablePropertiesMappedToColumns ( IList source ) : IList
FireWarningOrExceptionOnDuplicate ( string message ) : void
InitProperties ( ) : void
InitTableName ( ) : void

Method Details

DtoMetadata() public method

public DtoMetadata ( Type type ) : System
type System.Type
return System

GetForeignKeyColumnFor() public method

public GetForeignKeyColumnFor ( Type dtoType ) : Dapper.SimpleSave.PropertyMetadata
dtoType System.Type
return Dapper.SimpleSave.PropertyMetadata

GetPrimaryKeyValueAsGuid() public method

public GetPrimaryKeyValueAsGuid ( object obj ) : Guid?
obj object
return Guid?

GetPrimaryKeyValueAsInt() public method

public GetPrimaryKeyValueAsInt ( object obj ) : int?
obj object
return int?

GetPrimaryKeyValueAsLong() public method

public GetPrimaryKeyValueAsLong ( object obj ) : long?
obj object
return long?

GetPrimaryKeyValueAsObject() public method

public GetPrimaryKeyValueAsObject ( object obj ) : object
obj object
return object

SetPrimaryKey() public method

public SetPrimaryKey ( object obj, object value ) : void
obj object
value object
return void

this() public method

public this ( string propertyColumnNameCaseInsensitive ) : PropertyMetadata
propertyColumnNameCaseInsensitive string
return PropertyMetadata