C# 클래스 DapperExtensions.Mapper.PropertyMap

Maps an entity property to its corresponding column in the database.
상속: IPropertyMap
파일 보기 프로젝트 열기: tmsmith/Dapper-Extensions 1 사용 예제들

공개 메소드들

메소드 설명
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