C# Класс DapperExtensions.Mapper.PropertyMap

Maps an entity property to its corresponding column in the database.
Наследование: IPropertyMap
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Column() публичный Метод

Fluently sets the column name for the property.
public Column ( string columnName ) : PropertyMap
columnName string The column name as it exists in the database.
Результат PropertyMap

Ignore() публичный Метод

Fluently sets the ignore status of the property.
public Ignore ( ) : PropertyMap
Результат PropertyMap

Key() публичный Метод

Fluently sets the key type of the property.
public Key ( KeyType keyType ) : PropertyMap
keyType KeyType
Результат PropertyMap

PropertyMap() публичный Метод

public PropertyMap ( PropertyInfo propertyInfo ) : System
propertyInfo System.Reflection.PropertyInfo
Результат System

ReadOnly() публичный Метод

Fluently sets the read-only status of the property.
public ReadOnly ( ) : PropertyMap
Результат PropertyMap