protected internal SetAccessor(CatFlap <Tdb> parent) { _parent = parent; _filter = x => x; _relatedEntityFilters = new Dictionary <Expression, Expression>(); _usingRelationships = new Lictionary <Type, PropertyInfo>(); }
protected internal SetAccessor(CatFlap <Tdb> parent, Expression <Func <ICollection <Tset>, IEnumerable <Tset> > > filterQuery) { _parent = parent; _filter = filterQuery; _relatedEntityFilters = new Dictionary <Expression, Expression>(); _usingRelationships = new Lictionary <Type, PropertyInfo>(); }
private SetAccessor(CatFlap <Tdb> parent, Expression <Func <ICollection <Tset>, IEnumerable <Tset> > > filterQuery, Dictionary <Expression, Expression> relatedEntityFilters, Lictionary <Type, PropertyInfo> usingRelationships) { _relatedEntityFilters = relatedEntityFilters; _parent = parent; _filter = filterQuery; _usingRelationships = usingRelationships; }
protected internal SoftDeleteSetAccessor(CatFlap <Tdb> parent, Func <Tset, bool> softDeleteSelector) : base(parent, x => x.Where(softDeleteSelector)) { _softDeleteSelector = softDeleteSelector; }
protected internal SoftDeleteSetAccessor(CatFlap <Tdb> parent, Func <Tset, bool> softDeleteSelector, Expression <Func <ICollection <Tset>, IEnumerable <Tset> > > filterQuery) : base(parent, x => x.Where(softDeleteSelector)) { _softDeleteSelector = softDeleteSelector; }