public async Task Open(string sql, cDataAccess da, bool async = false) { SQL = sql; DA = da; if (!async) { Open(); } else { await Open(true); } }
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}"); } }
//public enum eParamType { OUT, IN }; public SP(cDataAccess da, string name) { Name = name; DA = da; }