Esempio n. 1
0
 public virtual int ExecuteNonQuery()
 {
     using (IDbConnection conn = QfRuntimeConnection.GetConnection())
     {
         conn.Open();
         return(ExecuteNonQuery(conn));
     }
 }
Esempio n. 2
0
 public virtual System.String ExecuteScalar()
 {
     using (IDbConnection conn = QfRuntimeConnection.GetConnection())
     {
         conn.Open();
         return(ExecuteScalar(conn));
     }
 }
Esempio n. 3
0
 public virtual CustomerLite GetOne()
 {
     using (IDbConnection conn = QfRuntimeConnection.GetConnection())
     {
         conn.Open();
         return(GetOne(conn));
     }
 }
Esempio n. 4
0
 public virtual List <CustomerLite> Execute()
 {
     using (IDbConnection conn = QfRuntimeConnection.GetConnection())
     {
         conn.Open();
         var returnVal = Execute(conn).ToList();
         return(returnVal);
     }
 }
Esempio n. 5
0
        public virtual CustomerFull GetOne(string custId)
        {
            CustId = custId;

            using (IDbConnection conn = QfRuntimeConnection.GetConnection())
            {
                conn.Open();
                var returnVal = GetOne(conn);
                return(returnVal);
            }
        }
Esempio n. 6
0
        public virtual List <CustomerFull> Execute(string custId)
        {
            CustId = custId;

            using (IDbConnection conn = QfRuntimeConnection.GetConnection())
            {
                conn.Open();
                var returnVal = Execute(conn).ToList();
                ;
                return(returnVal);
            }
        }