/// <summary>
 /// This is direct approach, without Producer/Consumer pattern
 /// </summary>
 /// <param name="dbConn"></param>
 /// <returns></returns>
 public static SdbResult RunWith(this SdbRequest dbRequest, DbConnection dbConn)
 {
     return(SdbRequestRunner.ExecuteDbRequest(dbConn, dbRequest, postgresDefault));
 }
示例#2
0
 /// <summary>
 /// This is direct approach, without Producer/Consumer pattern
 /// </summary>
 /// <param name="dbConn"></param>
 /// <returns></returns>
 public static SdbResult RunWith(this SdbRequest SdbRequest, SdbConnection dbConn)
 {
     return(SdbRequestRunner.ExecuteDbRequest(dbConn.Connection, SdbRequest, dbConn.dbConfig));
 }