public static MultiResult <T> MultiExec <T>(this SqlProc proc) where T : class { MultiResult <T> result = new MultiResult <T>(); result.Prepare(proc); return(result); }
public static MultiResult <object[]> MultiObj(this Context db, string proc, Action <SqlCommand> setup = null) { var procMap = new SqlProc { Context = db, Connection = db.SqlConnection, CmdText = proc, Param = null }; var result = new MultiResult <object[]>(); return(result.Prepare(procMap, setup)); }
public static MultiResult <object[]> MultiObj(this SqlProc proc) { var result = new MultiResult <object[]>(); return(result.Prepare(proc)); }
// Sql data set to multiple XML public static MultiResult <XElement> MultiXElem(this SqlProc proc) { var result = new MultiResult <XElement>(); return(result.Prepare(proc)); }