Rebornbuddy
Loading...
Searching...
No Matches
SQLite.TableMapping Class Reference

Classes

class  Column

Public Member Functions

 TableMapping (Type type, CreateFlags createFlags=CreateFlags.None)
void SetAutoIncPK (object obj, long id)
Column FindColumnWithPropertyName (string propertyName)
Column FindColumn (string columnName)
PreparedSqlLiteInsertCommand GetInsertCommand (SQLiteConnection conn, string extra)

Properties

Type MappedType [get]
string TableName [get]
Column[] Columns [get]
Column PK [get]
string GetByPrimaryKeySql [get]
bool HasAutoIncPK [get]
Column[] InsertColumns [get]
Column[] InsertOrReplaceColumns [get]

Constructor & Destructor Documentation

◆ TableMapping()

SQLite.TableMapping.TableMapping ( Type type,
CreateFlags createFlags = CreateFlags::None )

Member Function Documentation

◆ FindColumn()

Column SQLite.TableMapping.FindColumn ( string columnName)

◆ FindColumnWithPropertyName()

Column SQLite.TableMapping.FindColumnWithPropertyName ( string propertyName)

◆ GetInsertCommand()

PreparedSqlLiteInsertCommand SQLite.TableMapping.GetInsertCommand ( SQLiteConnection conn,
string extra )

◆ SetAutoIncPK()

void SQLite.TableMapping.SetAutoIncPK ( object obj,
long id )

Property Documentation

◆ Columns

Column [] SQLite.TableMapping.Columns
get

◆ GetByPrimaryKeySql

string SQLite.TableMapping.GetByPrimaryKeySql
get

◆ HasAutoIncPK

bool SQLite.TableMapping.HasAutoIncPK
get

◆ InsertColumns

Column [] SQLite.TableMapping.InsertColumns
get

◆ InsertOrReplaceColumns

Column [] SQLite.TableMapping.InsertOrReplaceColumns
get

◆ MappedType

Type SQLite.TableMapping.MappedType
get

◆ PK

Column SQLite.TableMapping.PK
get

◆ TableName

string SQLite.TableMapping.TableName
get