프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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, 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>.Dictionary |
||
query | string | |
parameters | object>.Dictionary | |
리턴 | object |
public GetDataSet ( StorageTypes storageType, string dbConnString, string query ) : DataSet | ||
storageType | StorageTypes | |
dbConnString | string | |
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 |