/// <summary> /// Adding custom and filter/statement with hardcoded values or /// pass in an object with properties named the same as you parameters minus the "@" sign. /// </summary> /// <param name="whereSql">Custom where filter/statement</param> /// <param name="whereValues">Parameter values for custom filter/statement</param> /// <returns></returns> public IMereDeletePost <T> Or(string whereSql, object whereValues = null) { QueryContext.AddFilter(whereSql, whereValues, true); return(this); }
public IMereDeletePost <T> Where(string whereSql, object whereValues = null) { QueryContext.AddFilter(whereSql, whereValues); return(Parent._post); }
public IMereUpdatePost <T> Where(string whereSql, object whereValues = null) { QueryContext.CurFilterOr = false; QueryContext.AddFilter(whereSql, whereValues); return(Parent._post); }
/// <summary> /// Adding custom and filter/statement with hardcoded values or /// pass in an object with properties named the same as you parameters minus the "@" sign. /// </summary> /// <param name="whereSql">Custom where filter/statement</param> /// <param name="whereValues">Parameter values for custom filter/statement</param> /// <returns></returns> public IMereUpdatePost <T> And(string whereSql, object whereValues = null) { QueryContext.CurFilterOr = false; QueryContext.AddFilter(whereSql, whereValues); return(this); }
/// <summary> /// Adding custom and filter/statement with hardcoded values or /// pass in an object with properties named the same as you parameters minus the "@" sign. /// </summary> /// <param name="whereSql">Custom where filter/statement</param> /// <param name="whereValues">Parameter values for custom filter/statement</param> /// <returns></returns> public IMereQueryPost <T> And(string whereSql, object whereValues = null) { QueryContext.AddFilter(whereSql, whereValues); return(this); }