예제 #1
0
 protected internal SetAccessor(CatFlap <Tdb> parent)
 {
     _parent = parent;
     _filter = x => x;
     _relatedEntityFilters = new Dictionary <Expression, Expression>();
     _usingRelationships   = new Lictionary <Type, PropertyInfo>();
 }
예제 #2
0
 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>();
 }
예제 #3
0
 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;
 }
예제 #4
0
 protected internal SoftDeleteSetAccessor(CatFlap <Tdb> parent, Func <Tset, bool> softDeleteSelector)
     : base(parent, x => x.Where(softDeleteSelector))
 {
     _softDeleteSelector = softDeleteSelector;
 }
예제 #5
0
 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;
 }