Method | Description | |
---|---|---|
Add ( object pKeys ) : int | ||
AvtSqlHelper_Table ( string connString, string table, bool isIdentity, string idColumns ) : System | ||
Delete ( object pKeys ) : void | ||
Delete ( string whereCond ) : void | ||
Edit ( object pKeys ) : void | ||
EncodeSql ( object data ) : string | ||
ExecuteNonQuery ( |
||
ExecuteNonQuery ( string connectionString, CommandType commandType, string commandText ) : int | ||
ExecuteReader ( |
||
ExecuteReader ( string connectionString, CommandType commandType, string commandText ) : System.Data.SqlClient.SqlDataReader | ||
ExecuteScalar ( |
||
ExecuteScalar ( string connectionString, CommandType commandType, string commandText ) : object | ||
Get ( string appendSql ) : IDataReader | ||
GetScalar ( string column, string appendSql ) : object | ||
Update ( object pKeys ) : int | ||
UpdateField ( string fieldName, object data, string whereCond ) : void |
Method | Description | |
---|---|---|
JoinConditions ( string sep, string columns, object values ) : string | ||
PrepareCommand ( |
||
SqlAdd ( object pKeys ) : string | ||
SqlEdit ( object pKeys ) : string |
public AvtSqlHelper_Table ( string connString, string table, bool isIdentity, string idColumns ) : System | ||
connString | string | |
table | string | |
isIdentity | bool | |
idColumns | string | |
return | System |
public static EncodeSql ( object data ) : string | ||
data | object | |
return | string |
public static ExecuteNonQuery ( |
||
connection | ||
commandType | CommandType | |
commandText | string | |
return | int |
public static ExecuteNonQuery ( string connectionString, CommandType commandType, string commandText ) : int | ||
connectionString | string | |
commandType | CommandType | |
commandText | string | |
return | int |
public static ExecuteReader ( |
||
connection | ||
transaction | ||
commandType | CommandType | |
commandText | string | |
commandParameters | ||
return | System.Data.SqlClient.SqlDataReader |
public static ExecuteReader ( string connectionString, CommandType commandType, string commandText ) : System.Data.SqlClient.SqlDataReader | ||
connectionString | string | |
commandType | CommandType | |
commandText | string | |
return | System.Data.SqlClient.SqlDataReader |
public static ExecuteScalar ( |
||
connection | ||
commandType | CommandType | |
commandText | string | |
return | object |
public static ExecuteScalar ( string connectionString, CommandType commandType, string commandText ) : object | ||
connectionString | string | |
commandType | CommandType | |
commandText | string | |
return | object |
public Get ( string appendSql ) : IDataReader | ||
appendSql | string | |
return | IDataReader |
public GetScalar ( string column, string appendSql ) : object | ||
column | string | |
appendSql | string | |
return | object |
public UpdateField ( string fieldName, object data, string whereCond ) : void | ||
fieldName | string | |
data | object | |
whereCond | string | |
return | void |