C# 클래스 MicroLite.Mapping.Attributes.ColumnAttribute

상속: System.Attribute
파일 보기 프로젝트 열기: TrevorPilley/MicroLite 1 사용 예제들

공개 메소드들

메소드 설명
ColumnAttribute ( string name ) : System

Initialises a new instance of the ColumnAttribute class.

ColumnAttribute ( string name, bool allowInsert, bool allowUpdate ) : System

Initialises a new instance of the ColumnAttribute class.

메소드 상세

ColumnAttribute() 공개 메소드

Initialises a new instance of the ColumnAttribute class.
public ColumnAttribute ( string name ) : System
name string The name of the column in the database table that the property maps to.
리턴 System

ColumnAttribute() 공개 메소드

Initialises a new instance of the ColumnAttribute class.
public ColumnAttribute ( string name, bool allowInsert, bool allowUpdate ) : System
name string The name of the column in the database table that the property maps to.
allowInsert bool true if the column value can be inserted, otherwise false.
allowUpdate bool true if the column value can be updated, otherwise false.
리턴 System