Class TableMapping
Syntax
public class TableMapping
Constructors
TableMapping(Type, CreateFlags)
Declaration
public TableMapping(Type type, CreateFlags createFlags = CreateFlags.None)
Parameters
Properties
Columns
Declaration
public TableMapping.Column[] Columns { get; }
Property Value
GetByPrimaryKeySql
Declaration
public string GetByPrimaryKeySql { get; }
Property Value
HasAutoIncPK
Declaration
public bool HasAutoIncPK { get; }
Property Value
InsertColumns
Declaration
public TableMapping.Column[] InsertColumns { get; }
Property Value
InsertOrReplaceColumns
Declaration
public TableMapping.Column[] InsertOrReplaceColumns { get; }
Property Value
MappedType
Declaration
public Type MappedType { get; }
Property Value
PK
Declaration
public TableMapping.Column PK { get; }
Property Value
TableName
Declaration
public string TableName { get; }
Property Value
Methods
Dispose()
Declaration
FindColumn(String)
Declaration
public TableMapping.Column FindColumn(string columnName)
Parameters
Type |
Name |
Description |
String |
columnName |
|
Returns
FindColumnWithPropertyName(String)
Declaration
public TableMapping.Column FindColumnWithPropertyName(string propertyName)
Parameters
Type |
Name |
Description |
String |
propertyName |
|
Returns
GetInsertCommand(SQLiteConnection, String)
Declaration
public PreparedSqlLiteInsertCommand GetInsertCommand(SQLiteConnection conn, string extra)
Parameters
Returns
SetAutoIncPK(Object, Int64)
Declaration
public void SetAutoIncPK(object obj, long id)
Parameters
Extension Methods