C# Class MicroLite.Mapping.TableInfo

Show file Open project: TrevorPilley/MicroLite Class Usage Examples

Public Methods

Method Description
TableInfo ( IList columns, IdentifierStrategy identifierStrategy, string name, string schema ) : System

Initialises a new instance of the TableInfo class.

Private Methods

Method Description
ValidateColumns ( ) : void

Method Details

TableInfo() public method

Initialises a new instance of the TableInfo class.
Thrown if columns or name are null. Thrown if no there is a problem with the column mappings.
public TableInfo ( IList columns, IdentifierStrategy identifierStrategy, string name, string schema ) : System
columns IList The columns that are mapped for the table.
identifierStrategy IdentifierStrategy The identifier strategy used by the table.
name string The name of the table.
schema string The database schema the table exists within (e.g. 'dbo'); otherwise null.
return System