public DataQuery(QueryDataContext context) { this.context = context; this.Dto = context.Dto; this.DynamicParams = context.DynamicParams; this.Conditions = new List <DataConditionExpression>(); }
public DynamoDbQueryDataSource(QueryDataContext context, IPocoDynamo dynamo, bool allowScans = true) : base(context) { this.db = dynamo; this.modelDef = db.GetTableMetadata <T>(); isGlobalIndex = typeof(T).IsGlobalIndex(); this.allowScans = allowScans; }
protected QueryDataSource(QueryDataContext context) { this.context = context; }
public static QueryDataSource <T> DynamoDbSource <T>(this QueryDataContext ctx, IPocoDynamo dynamo = null, bool allowScans = true) { return(new DynamoDbQueryDataSource <T>(ctx, dynamo, allowScans)); }