public CaseBuilder <DbDateTimeCaseFunctionValue, DbDateTime> When(DbBool when, DbDateTime then) { var result = new CaseBuilder <DbDateTimeCaseFunctionValue, DbDateTime>(new DbDateTimeCaseFunctionValue()); result.When(when, then); return(result); }
public CaseBuilder <DbStringCaseFunctionValue, DbString> When(DbBool when, DbString then) { var result = new CaseBuilder <DbStringCaseFunctionValue, DbString>(new DbStringCaseFunctionValue()); result.When(when, then); return(result); }
public CaseBuilder <DbDecimalCaseFunctionValue, DbDecimal> When(DbBool when, DbDecimal then) { var result = new CaseBuilder <DbDecimalCaseFunctionValue, DbDecimal>(new DbDecimalCaseFunctionValue()); result.When(when, then); return(result); }
public CaseBuilder <DbEnumCaseFunctionValue <T>, DbEnum <T> > When <T>(DbBool when, DbEnum <T> then) where T : struct, Enum { var result = new CaseBuilder <DbEnumCaseFunctionValue <T>, DbEnum <T> >(new DbEnumCaseFunctionValue <T>()); result.When(when, then); return(result); }