Beispiel #1
0
 public virtual List <ScaffoldInsertResults> Execute(string table_name)
 {
     using (IDbConnection conn = QfRuntimeConnection.GetConnection())
     {
         conn.Open();
         return(Execute(table_name, conn).ToList());
     }
 }
Beispiel #2
0
 public virtual int ExecuteNonQuery(string table_name)
 {
     using (IDbConnection conn = QfRuntimeConnection.GetConnection())
     {
         conn.Open();
         return(ExecuteNonQuery(table_name, conn));
     }
 }
Beispiel #3
0
 public virtual System.String ExecuteScalar(string table_name)
 {
     using (IDbConnection conn = QfRuntimeConnection.GetConnection())
     {
         conn.Open();
         return(ExecuteScalar(table_name, conn));
     }
 }
Beispiel #4
0
 public virtual ScaffoldInsertResults GetOne(string table_name)
 {
     using (IDbConnection conn = QfRuntimeConnection.GetConnection())
     {
         conn.Open();
         return(GetOne(table_name, conn));
     }
 }
Beispiel #5
0
 public virtual ScaffoldUpdateResults GetOne(string table_name)
 {
     using (SqlConnection conn = new SqlConnection(QfRuntimeConnection.GetConnectionString()))
     {
         conn.Open();
         return(GetOne(table_name, conn));
     }
 }
Beispiel #6
0
 public virtual List <ScaffoldUpdateResults> Execute(string table_name)
 {
     using (SqlConnection conn = new SqlConnection(QfRuntimeConnection.GetConnectionString()))
     {
         conn.Open();
         return(Execute(table_name, conn).ToList());
     }
 }