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