Ejemplo n.º 1
0
        public ICompositePredicate AddAnd()
        {
            this.Extent.FlushCache();
            var allFilter = new AndPredicate(this.Extent);

            this.Filters.Add(allFilter);
            return(allFilter);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Lazy loads the filter.
 /// Should also be used to upgrade from a strategy extent to a full extent
 /// </summary>
 protected override void LazyLoadFilter()
 {
     if (this.filter == null)
     {
         this.filter          = new AndPredicate(this);
         this.Strategy        = null;
         this.AssociationType = null;
         this.RoleType        = null;
         this.FlushCache();
     }
 }
Ejemplo n.º 3
0
 public ICompositePredicate AddAnd()
 {
     this.Extent.FlushCache();
     var allFilter = new AndPredicate(this.Extent);
     this.Filters.Add(allFilter);
     return allFilter;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Lazy loads the filter.
 /// Should also be used to upgrade from a strategy extent to a full extent
 /// </summary>
 protected override void LazyLoadFilter()
 {
     if (this.filter == null)
     {
         this.filter = new AndPredicate(this);
         this.Strategy = null;
         this.AssociationType = null;
         this.RoleType = null;
         this.FlushCache();
     }
 }