메소드 | 설명 | |
---|---|---|
Get ( string sql, IDbConnection conn ) : IDbCommand |
This returns a command from the cache, or creates a new one if necessary. This method is thread-safe.
|
|
Return ( string sql, IDbConnection conn, IDbCommand cmd ) : void |
Returns a command to the cache when it is no longer used, allowing another call to reuse it. This method is thread-safe.
|
public Get ( string sql, IDbConnection conn ) : IDbCommand | ||
sql | string | |
conn | IDbConnection | |
리턴 | IDbCommand |
public Return ( string sql, IDbConnection conn, IDbCommand cmd ) : void | ||
sql | string | |
conn | IDbConnection | |
cmd | IDbCommand | |
리턴 | void |