コード例 #1
0
ファイル: CompositePredicate.cs プロジェクト: lulzzz/allors2
        public ICompositePredicate AddAnd()
        {
            this.Extent.FlushCache();
            var allFilter = new AndPredicate(this.Extent);

            this.Filters.Add(allFilter);
            return(allFilter);
        }
コード例 #2
0
ファイル: ExtentFiltered.cs プロジェクト: lulzzz/allors2
 /// <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();
     }
 }
コード例 #3
0
ファイル: CompositePredicate.cs プロジェクト: whesius/allors
 public ICompositePredicate AddAnd()
 {
     this.Extent.FlushCache();
     var allFilter = new AndPredicate(this.Extent);
     this.Filters.Add(allFilter);
     return allFilter;
 }
コード例 #4
0
ファイル: ExtentFiltered.cs プロジェクト: whesius/allors
 /// <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();
     }
 }