public Where <TDto, TProperty, TTable> OrWhere <TProperty>(string columnName) { var orWhere = new Where <TDto, TProperty, TTable>(TableImpl, Parameters, columnName); OrConditions.Add(orWhere); return(orWhere); }
public void WhereOrCondition(string WhereClauseContent, Guid?GuidParameter) { if (GuidParameter == Guid.Empty || GuidParameter == null) { return; } OrConditions.Add(" " + WhereClauseContent + " "); }
public void WhereOrCondition(string WhereClauseContent, string StringParameter) { if (string.IsNullOrEmpty(StringParameter)) { return; } OrConditions.Add(" " + WhereClauseContent + " "); }
public void WhereOrCondition(string WhereClauseContent, double?DoubleParameter) { if (DoubleParameter == null) { return; } OrConditions.Add(" " + WhereClauseContent + " "); }
public void WhereOrCondition(string WhereClauseContent, int?IntParameter) { if (IntParameter == null) { return; } OrConditions.Add(" " + WhereClauseContent + " "); }
public Where <TDto, TProperty, TTable> OrWhere <TProperty>(Expression <Func <TDto, TProperty> > columnExpression, string colPrefix = null) { var columnName = SpryExpression.GetColumnName(columnExpression); if (!string.IsNullOrWhiteSpace(colPrefix)) { columnName = colPrefix + "." + columnName; } var orWhere = new Where <TDto, TProperty, TTable>(TableImpl, Parameters, columnName); OrConditions.Add(orWhere); return(orWhere); }
public void WhereOrCondition(string WhereClauseContent) { OrConditions.Add(" " + WhereClauseContent + " "); }