C# Class MicroLite.Mapping.ColumnInfo

Afficher le fichier Open project: TrevorPilley/MicroLite Class Usage Examples

Méthodes publiques

Méthode Description
ColumnInfo ( string columnName, DbType dbType, PropertyInfo propertyInfo, bool isIdentifier, bool allowInsert, bool allowUpdate, string sequenceName ) : System

Initialises a new instance of the ColumnInfo class.

Method Details

ColumnInfo() public méthode

Initialises a new instance of the ColumnInfo class.
Thrown if columnName or propertyInfo are null.
public ColumnInfo ( string columnName, DbType dbType, PropertyInfo propertyInfo, bool isIdentifier, bool allowInsert, bool allowUpdate, string sequenceName ) : System
columnName string The name of the column in the database table.
dbType DbType The of the column in the database table.
propertyInfo System.Reflection.PropertyInfo The property info for the property the column maps to.
isIdentifier bool A value indicating whether column is the table identifier column (primary key).
allowInsert bool true if the column can be inserted, otherwise false.
allowUpdate bool true if the column can be updated, otherwise false.
sequenceName string The name of the sequence which generates the identifier value or null if sequences are not used.
Résultat System