Method | Description | |
---|---|---|
CheckTable ( string db ) : bool | ||
Command ( string DB ) : int |
执行sql语句
|
|
Compression ( string db ) : void | ||
CopyDB ( string DB, bool ignore ) : int |
复制数据库
|
|
Create ( string Db ) : bool |
创建数据库
|
|
DeleteDB ( string DB ) : int | ||
GetDeleteSQL ( Card c ) : string |
转换删除语句
|
|
GetInsertSQL ( Card c, bool ignore, bool hex = false ) : string |
转换为插入语句
|
|
GetSelectSQL ( Card c ) : string | ||
GetUpdateSQL ( Card c ) : string |
转换为更新语句
|
|
Read ( string DB, bool reNewLine ) : Card[] | ||
exportSql ( String file ) : void | ||
findPack ( string db, long id ) : |
Method | Description | |
---|---|---|
DataBase ( ) : System | ||
ReadCard ( |
||
Retext ( string text ) : string | ||
toInt ( long l ) : string |
public static CheckTable ( string db ) : bool | ||
db | string | |
return | bool |
public static Compression ( string db ) : void | ||
db | string | |
return | void |
public static CopyDB ( string DB, bool ignore ) : int | ||
DB | string | 复制到的数据库 |
ignore | bool | 是否忽略存在 |
return | int |
public static Create ( string Db ) : bool | ||
Db | string | 新数据库路径 |
return | bool |
public static GetDeleteSQL ( Card c ) : string | ||
c | Card | 卡片密码 |
return | string |
public static GetInsertSQL ( Card c, bool ignore, bool hex = false ) : string | ||
c | Card | 卡片数据 |
ignore | bool | |
hex | bool | |
return | string |
public static GetSelectSQL ( Card c ) : string | ||
c | Card | |
return | string |
public static GetUpdateSQL ( Card c ) : string | ||
c | Card | 卡片数据 |
return | string |
public static Read ( string DB, bool reNewLine ) : Card[] | ||
DB | string | |
reNewLine | bool | |
return | Card[] |
public static exportSql ( String file ) : void | ||
file | String | |
return | void |
public static findPack ( string db, long id ) : |
||
db | string | |
id | long | |
return |