Ejemplo n.º 1
0
 /// <summary>
 /// Executes a BULK INSERT query using the defined query params on the current instance.
 /// </summary>
 /// <param name="model"></param>
 /// <param name="options"></param>
 /// <returns>A typed model response from the database.</returns>
 public Task <ModeledResponse <T> > Insert(ICollection <T> models, QueryOptions options = null) => PerformInsert(models, options);
Ejemplo n.º 2
0
 /// <summary>
 /// Executes an INSERT query using the defined query params on the current instance.
 /// </summary>
 /// <param name="model"></param>
 /// <param name="options"></param>
 /// <returns>A typed model response from the database.</returns>
 public Task <ModeledResponse <T> > Insert(T model, QueryOptions options = null) => PerformInsert(model, options);