C# Class DapperExtensions.Mapper.PropertyMap

Maps an entity property to its corresponding column in the database.
Inheritance: IPropertyMap
Afficher le fichier Open project: tmsmith/Dapper-Extensions Class Usage Examples

Méthodes publiques

Méthode Description
Column ( string columnName ) : PropertyMap

Fluently sets the column name for the property.

Ignore ( ) : PropertyMap

Fluently sets the ignore status of the property.

Key ( KeyType keyType ) : PropertyMap

Fluently sets the key type of the property.

PropertyMap ( PropertyInfo propertyInfo ) : System
ReadOnly ( ) : PropertyMap

Fluently sets the read-only status of the property.

Method Details

Column() public méthode

Fluently sets the column name for the property.
public Column ( string columnName ) : PropertyMap
columnName string The column name as it exists in the database.
Résultat PropertyMap

Ignore() public méthode

Fluently sets the ignore status of the property.
public Ignore ( ) : PropertyMap
Résultat PropertyMap

Key() public méthode

Fluently sets the key type of the property.
public Key ( KeyType keyType ) : PropertyMap
keyType KeyType
Résultat PropertyMap

PropertyMap() public méthode

public PropertyMap ( PropertyInfo propertyInfo ) : System
propertyInfo System.Reflection.PropertyInfo
Résultat System

ReadOnly() public méthode

Fluently sets the read-only status of the property.
public ReadOnly ( ) : PropertyMap
Résultat PropertyMap