示例#1
0
 internal AllorsExtentFilteredSql(Session session, Strategy strategy, IRoleType role)
     : this(session, (IComposite)role.ObjectType)
 {
     this.strategy = strategy;
     this.role = role;
 }
示例#2
0
 internal AllorsExtentFilteredSql(Session session, Strategy strategy, IAssociationType association)
     : this(session, association.ObjectType)
 {
     this.strategy = strategy;
     this.association = association;
 }
示例#3
0
 protected override void LazyLoadFilter()
 {
     if (this.filter == null)
     {
         this.filter = new AllorsPredicateAndSql(this);
         this.strategy = null;
         this.association = null;
         this.role = null;
         this.FlushCache();
     }
 }