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