Beispiel #1
0
 public async Task Open(string sql, cDataAccess da, bool async = false)
 {
     SQL = sql;
     DA  = da;
     if (!async)
     {
         Open();
     }
     else
     {
         await Open(true);
     }
 }
Beispiel #2
0
        public Recordset(string Sql, cDataAccess da) : base()
        {
            string _stage = "Creating object";

            try
            {
                SQL   = Sql;
                DA    = da;
                State = RSState.Closed;
            }
            catch (Exception ex)
            {
                throw new Exception($"[{this.GetType().Name}/{System.Reflection.MethodBase.GetCurrentMethod().Name}#{_stage}] {ex.Message}");
            }
        }
Beispiel #3
0
        //public enum eParamType { OUT, IN };

        public SP(cDataAccess da, string name)
        {
            Name = name;
            DA   = da;
        }