Exemplo n.º 1
0
 /// <summary>
 /// Inserts the specified rows in the database.
 /// </summary>
 /// <typeparam name="T">The type of the row object.</typeparam>
 /// <param name="rows">The rows to insert.</param>
 /// <param name="identityInsert">If true, then the explicit value can be inserted into the identity column of a table.</param>
 public Result <T> InsertRowsGo <T>(IEnumerable <T> rows, bool identityInsert = false)
     where T : DbRow
 {
     return(PublicInvoker.Call <Result <T> >(Assembly.GetCallingAssembly(), (ca) =>
                                             Crud.InsertRowsGo(ca, rows, identityInsert, this)));
 }