C# Class Netronics.DB.DBMS.Sqlite

Inheritance: DB
Mostrar archivo Open project: shlee322/Netronics Class Usage Examples

Public Methods

Method Description
CreateTable ( string tableName, IEnumerable fieldInfos ) : void
Find ( string tableName, int id ) : NameValueCollection
Find ( string tableName, Where where ) : System.Collections.Specialized.NameValueCollection[]
GetCount ( string tableName ) : long
Save ( string tableName, IEnumerable dbField, Model model ) : long
UsingSqlite ( string file ) : void

Private Methods

Method Description
GetWhereSQL ( Where where ) : string
Sqlite ( string file ) : System

Method Details

CreateTable() public method

public CreateTable ( string tableName, IEnumerable fieldInfos ) : void
tableName string
fieldInfos IEnumerable
return void

Find() public method

public Find ( string tableName, int id ) : NameValueCollection
tableName string
id int
return System.Collections.Specialized.NameValueCollection

Find() public method

public Find ( string tableName, Where where ) : System.Collections.Specialized.NameValueCollection[]
tableName string
where Netronics.DB.Where.Where
return System.Collections.Specialized.NameValueCollection[]

GetCount() public method

public GetCount ( string tableName ) : long
tableName string
return long

Save() public method

public Save ( string tableName, IEnumerable dbField, Model model ) : long
tableName string
dbField IEnumerable
model Model
return long

UsingSqlite() public static method

public static UsingSqlite ( string file ) : void
file string
return void