Свойство | Тип | Описание | |
---|---|---|---|
MaxPoolSize | string | ||
MinPoolSize | string | ||
Pooling | string |
Метод | Описание | |
---|---|---|
ConvertToBool ( object column ) : bool |
|
|
ConvertToBoolean ( object column ) : bool | ||
ExecuteNonQuery ( StorageTypes storageType, string dbConnString, string query ) : void | ||
ExecuteNonQuery ( StorageTypes storageType, string dbConnString, string query, object>.Dictionary |
||
ExecuteNonQuery ( string query ) : void | ||
ExecuteNonQuery ( string query, object>.Dictionary |
||
ExecuteScalar ( StorageTypes storageType, string dbConnString, string query ) : object | ||
ExecuteScalar ( StorageTypes storageType, string dbConnString, string query, object>.Dictionary |
||
ExecuteScalar ( string query ) : object | ||
ExecuteScalar ( string query, object>.Dictionary |
||
GetDataSet ( StorageTypes storageType, string dbConnString, string query ) : DataSet | ||
GetDataSet ( string query ) : DataSet | ||
GetDbCommand ( StorageTypes storageType, IDbConnection dbConn, string cmdText ) : IDbCommand | ||
GetDbConnection ( StorageTypes storageType, string dbConnStr ) : IDbConnection | ||
GetDbParameter ( StorageTypes storageType, string name, object value ) : IDataParameter | ||
IsPooledConnectionString ( string dbConnStr ) : bool |
Used to determine whethe Npgsql will treat a connection string as pooling or not. Npgsql assumes a connection string is pooling by default.
|
|
StorageLayer ( ) : NUnit.Framework | ||
StorageLayer ( StorageTypes storageType, string dbConnStr ) : NUnit.Framework |
Метод | Описание | |
---|---|---|
GetDataAdapter ( StorageTypes storageType, IDbConnection dbConn, string cmdText ) : IDataAdapter | ||
QuerySecurityCheck ( string query ) : void |
Checks SQL queries to filter out ones that match an SQL injection attack.
|
public ConvertToBool ( object column ) : bool | ||
column | object | Needs to be a bit data type from Postgresql. |
Результат | bool |
public static ConvertToBoolean ( object column ) : bool | ||
column | object | |
Результат | bool |
public ExecuteNonQuery ( StorageTypes storageType, string dbConnString, string query ) : void | ||
storageType | StorageTypes | |
dbConnString | string | |
query | string | |
Результат | void |
public ExecuteNonQuery ( StorageTypes storageType, string dbConnString, string query, object>.Dictionary |
||
storageType | StorageTypes | |
dbConnString | string | |
query | string | |
parameters | object>.Dictionary | |
Результат | void |
public ExecuteNonQuery ( string query ) : void | ||
query | string | |
Результат | void |
public ExecuteNonQuery ( string query, object>.Dictionary |
||
query | string | |
parameters | object>.Dictionary | |
Результат | void |
public ExecuteScalar ( StorageTypes storageType, string dbConnString, string query ) : object | ||
storageType | StorageTypes | |
dbConnString | string | |
query | string | |
Результат | object |
public ExecuteScalar ( StorageTypes storageType, string dbConnString, string query, object>.Dictionary |
||
storageType | StorageTypes | |
dbConnString | string | |
query | string | |
parameters | object>.Dictionary | |
Результат | object |
public ExecuteScalar ( string query ) : object | ||
query | string | |
Результат | object |
public ExecuteScalar ( string query, object>.Dictionary |
||
query | string | |
parameters | object>.Dictionary | |
Результат | object |
public GetDataSet ( StorageTypes storageType, string dbConnString, string query ) : DataSet | ||
storageType | StorageTypes | |
dbConnString | string | |
query | string | |
Результат | DataSet |
public GetDataSet ( string query ) : DataSet | ||
query | string | |
Результат | DataSet |
public static GetDbCommand ( StorageTypes storageType, IDbConnection dbConn, string cmdText ) : IDbCommand | ||
storageType | StorageTypes | |
dbConn | IDbConnection | |
cmdText | string | |
Результат | IDbCommand |
public static GetDbConnection ( StorageTypes storageType, string dbConnStr ) : IDbConnection | ||
storageType | StorageTypes | |
dbConnStr | string | |
Результат | IDbConnection |
public static GetDbParameter ( StorageTypes storageType, string name, object value ) : IDataParameter | ||
storageType | StorageTypes | |
name | string | |
value | object | |
Результат | IDataParameter |
public IsPooledConnectionString ( string dbConnStr ) : bool | ||
dbConnStr | string | |
Результат | bool |
public StorageLayer ( StorageTypes storageType, string dbConnStr ) : NUnit.Framework | ||
storageType | StorageTypes | |
dbConnStr | string | |
Результат | NUnit.Framework |