Method | Description | |
---|---|---|
BuildWhereClauseOr ( string field, IEnumerable values ) : string | ||
Clear ( string table ) : void | ||
Delete ( string table, string where ) : void | ||
ExecuteSql ( string sql ) : void | ||
GetConnection ( string server, int port, string username, string password, string database ) : |
||
GetDistinctStringValues ( string table, string field ) : string[] | ||
GetDistinctStringValues ( string table, string field, string where ) : string[] | ||
Insert ( string table, object>.Dictionary |
||
InsertAndReturnId ( string table, object>.Dictionary |
||
Quote ( string str ) : string | ||
Replace ( string table, object>.Dictionary |
||
Select ( string table ) : object>[].Dictionary |
||
Select ( string table, string where ) : object>[].Dictionary |
||
Select ( string table, string where, string order ) : object>[].Dictionary |
||
Select ( string table, string where, string order, string limit ) : object>[].Dictionary |
||
Select ( string table, string where, string order, string limit, string fields ) : object>[].Dictionary |
||
Update ( string table, object>.Dictionary |
||
Update ( string table, object>.Dictionary |
Method | Description | |
---|---|---|
DefaultConnection ( ) : |
||
InsertOrReplace ( string method, string table, object>.Dictionary |
||
LastInsertId ( ) : int |
public static BuildWhereClauseOr ( string field, IEnumerable values ) : string | ||
field | string | |
values | IEnumerable | |
return | string |
public static Delete ( string table, string where ) : void | ||
table | string | |
where | string | |
return | void |
public static ExecuteSql ( string sql ) : void | ||
sql | string | |
return | void |
public static GetConnection ( string server, int port, string username, string password, string database ) : |
||
server | string | |
port | int | |
username | string | |
password | string | |
database | string | |
return |
public static GetDistinctStringValues ( string table, string field ) : string[] | ||
table | string | |
field | string | |
return | string[] |
public static GetDistinctStringValues ( string table, string field, string where ) : string[] | ||
table | string | |
field | string | |
where | string | |
return | string[] |
public static Insert ( string table, object>.Dictionary |
||
table | string | |
data | object>.Dictionary | |
return | void |
public static InsertAndReturnId ( string table, object>.Dictionary |
||
table | string | |
data | object>.Dictionary | |
return | int |
public static Replace ( string table, object>.Dictionary |
||
table | string | |
data | object>.Dictionary | |
return | void |
public static Select ( string table ) : object>[].Dictionary |
||
table | string | |
return | object>[].Dictionary |
public static Select ( string table, string where ) : object>[].Dictionary |
||
table | string | |
where | string | |
return | object>[].Dictionary |
public static Select ( string table, string where, string order ) : object>[].Dictionary |
||
table | string | |
where | string | |
order | string | |
return | object>[].Dictionary |
public static Select ( string table, string where, string order, string limit ) : object>[].Dictionary |
||
table | string | |
where | string | |
order | string | |
limit | string | |
return | object>[].Dictionary |
public static Select ( string table, string where, string order, string limit, string fields ) : object>[].Dictionary |
||
table | string | |
where | string | |
order | string | |
limit | string | |
fields | string | |
return | object>[].Dictionary |
public static Update ( string table, object>.Dictionary |
||
table | string | |
data | object>.Dictionary | |
where | string | |
return | void |
public static Update ( string table, object>.Dictionary |
||
table | string | |
data | object>.Dictionary | |
where | string | |
limit | string | |
return | void |