Beispiel #1
0
 public InsertQuery <TModel> OnConflictDoUpdate(Action <FieldListBuilder <TModel> > fields, Action <UpdateStatementsBuilder <TModel> > builder)
 {
     _onInsertConflict             = OnInsertConflict.DoUpdate;
     _onInsertConflictUpdate       = builder;
     _onInsertConflictUpdateFields = fields;
     return(this);
 }
Beispiel #2
0
 public InsertQuery <TModel> OnConflictDoNothing()
 {
     _onInsertConflict = OnInsertConflict.DoNothing;
     return(this);
 }