public IList <T> Exec <T>(IList <T> list, Action <double> progress = null) where T : class { var helper = new DbDataMapHelper <T>(); DbGetHelper.ExecFill <T>(this, list, helper, progress); return(list); }
public IList <T> Exec <T>(IList <T> list, Action <double> progress = null) where T : class { Ai.Assert.IsTrue(list != null, "SqlProc.Exec list null error"); var helper = new DbDataMapHelper <T>(); DbGetHelper.ExecFill <T>(this, list, helper, progress); return(list); }
public bool ExecMap <T>(IList <T> list, IDataMapHelper <T> mapper, Action <double> progress = null) where T : class { return(DbGetHelper.ExecFill <T>(this, list, mapper, progress)); }