public UpdateBuilder <T> Set(Expression <Func <T, object> > select, object value) { SimpleSelection selection = BuilderHelper.ParseSimpleSelection(select); if (selection != null) { CurrentQuery.Assignments.Add(new Assignment(selection, GenerateBindMarker(value))); } return(this); }
public DeleteBuilder <T> Delete(params Expression <Func <T, object> >[] selects) { if (selects != null) { foreach (Expression <Func <T, object> > select in selects) { SimpleSelection selection = BuilderHelper.ParseSimpleSelection(select); if (selection != null) { CurrentQuery.Selections.Add(selection); } } } return(this); }