C# Класс MicroLite.Mapping.Attributes.ColumnAttribute

Наследование: System.Attribute
Показать файл Открыть проект Примеры использования класса

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

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