C# Class MicroLite.Mapping.Attributes.ColumnAttribute

Inheritance: System.Attribute
Exibir arquivo Open project: TrevorPilley/MicroLite Class Usage Examples

Public Methods

Method Description
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.

Method Details

ColumnAttribute() public method

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.
return System

ColumnAttribute() public method

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.
return System