public string GetWhereBranch(Expression <Func <TFSEntity, object> > property, string prefix = "AND", string alias = null, bool native = false) { var tableName = Table(property); return(FSUtil.GetWhereBranch(tableName, prefix, alias, native)); }
public string GetWhereBranch(string tableName, string prefix = "AND", string alias = null, bool native = false) { return(tableName.IsNullOrEmpty() ? FSUtil.GetWhereBranch(Entity, prefix, alias, native) : FSUtil.GetWhereBranch(tableName, prefix, alias, native)); }