C# Class Netronics.DB.DBMS.Sqlite

Inheritance: DB
Afficher le fichier Open project: shlee322/Netronics Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetWhereSQL ( Where where ) : string
Sqlite ( string file ) : System

Method Details

CreateTable() public méthode

public CreateTable ( string tableName, IEnumerable fieldInfos ) : void
tableName string
fieldInfos IEnumerable
Résultat void

Find() public méthode

public Find ( string tableName, int id ) : NameValueCollection
tableName string
id int
Résultat System.Collections.Specialized.NameValueCollection

Find() public méthode

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

GetCount() public méthode

public GetCount ( string tableName ) : long
tableName string
Résultat long

Save() public méthode

public Save ( string tableName, IEnumerable dbField, Model model ) : long
tableName string
dbField IEnumerable
model Model
Résultat long

UsingSqlite() public static méthode

public static UsingSqlite ( string file ) : void
file string
Résultat void