C# Class Dapper.SimpleSave.DtoMetadata

Inheritance: BaseMetadata
Afficher le fichier Open project: Paymentsense/Dapper.SimpleSave Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
DeduplicateWriteablePropertiesMappedToColumns ( IList source ) : IList
FireWarningOrExceptionOnDuplicate ( string message ) : void
InitProperties ( ) : void
InitTableName ( ) : void

Method Details

DtoMetadata() public méthode

public DtoMetadata ( Type type ) : System
type System.Type
Résultat System

GetForeignKeyColumnFor() public méthode

public GetForeignKeyColumnFor ( Type dtoType ) : Dapper.SimpleSave.PropertyMetadata
dtoType System.Type
Résultat Dapper.SimpleSave.PropertyMetadata

GetPrimaryKeyValueAsGuid() public méthode

public GetPrimaryKeyValueAsGuid ( object obj ) : Guid?
obj object
Résultat Guid?

GetPrimaryKeyValueAsInt() public méthode

public GetPrimaryKeyValueAsInt ( object obj ) : int?
obj object
Résultat int?

GetPrimaryKeyValueAsLong() public méthode

public GetPrimaryKeyValueAsLong ( object obj ) : long?
obj object
Résultat long?

GetPrimaryKeyValueAsObject() public méthode

public GetPrimaryKeyValueAsObject ( object obj ) : object
obj object
Résultat object

SetPrimaryKey() public méthode

public SetPrimaryKey ( object obj, object value ) : void
obj object
value object
Résultat void

this() public méthode

public this ( string propertyColumnNameCaseInsensitive ) : PropertyMetadata
propertyColumnNameCaseInsensitive string
Résultat PropertyMetadata