public QueryBuilder(Type type, IEnumerable <string> avoidFields, SimpleMapping mapping, GeometryQuery geometryQuery, Expression expr, bool selectSingle) { Type = type; AvoidFields = avoidFields; Mapping = mapping; GeometryQuery = geometryQuery; Expr = expr; SelectSingle = selectSingle; }
public QueryBuilder Create(QueryVersion version, Type type, IEnumerable <string> avoidFields, SimpleMapping mapping, GeometryQuery geometryQuery, Expression expr, bool selectSingle) { if (version == QueryVersion.V10) { return(new SelectQueryBuilder(type, avoidFields, mapping, geometryQuery, expr, selectSingle)); } else { return(new SelectQueryBuilderV94(type, avoidFields, mapping, geometryQuery, expr, selectSingle)); } }
public QueryBuilder Create(QueryVersion version, Type type, IEnumerable <string> avoidFields, SimpleMapping mapping, GeometryQuery geometryQuery, Expression expr, bool selectSingle) { return(_implement.Create(version, type, avoidFields, mapping, geometryQuery, expr, selectSingle)); }
//public IList<string> Fields { // get { return _fields; } // private set { _fields = value; } //} public UpdateQueryBuilder(object entity, Type type, IEnumerable <string> avoidFields, SimpleMapping mapping, GeometryQuery geometryQuery, bool byView) : base(type, avoidFields, mapping, geometryQuery, null, true) { _entity = entity; _byView = byView; }
public SelectQueryBuilder(Type type, IEnumerable <string> avoidFields, SimpleMapping mapping, GeometryQuery geometryQuery, Expression expr, bool selectSingle) : base(type, avoidFields, mapping, geometryQuery, expr, selectSingle) { }