public AssociationContainedInExtent(ExtentFiltered extent, IAssociationType association, Allors.Extent inExtent) { extent.CheckAssociation(association); CompositePredicateAssertions.AssertAssociationContainedIn(association, inExtent); this.association = association; this.inExtent = ((Extent)inExtent).ContainedInExtent; }
public ExtentStatementRoot(SqlExtent extent) : base(extent) { this.parameterIndex = 0; this.aliasIndex = 0; this.sql = new StringBuilder(); this.paramNameByParamValue = new Dictionary <object, string>(); }
public RoleContainedInExtent(ExtentFiltered extent, IRoleType role, Allors.Extent inExtent) { extent.CheckRole(role); CompositePredicateAssertions.ValidateRoleContainedIn(role, inExtent); this.role = role; this.inExtent = ((Extent)inExtent).ContainedInExtent; }
protected ExtentStatement(SqlExtent extent) { this.extent = extent; this.referenceRoles = new ArrayList(); this.referenceAssociations = new ArrayList(); this.referenceRoleInstances = new ArrayList(); this.referenceAssociationInstances = new ArrayList(); }
public ExtentOperation(SqlExtent first, SqlExtent second, ExtentOperations operationType) { if (!first.ObjectType.Equals(second.ObjectType)) { throw new ArgumentException("Both extents in a Union, Intersect or Except must be from the same type"); } this.first = first; this.second = second; this.operationType = operationType; first.ParentOperationExtent = this; second.ParentOperationExtent = this; }
public override ExtentStatement CreateChild(SqlExtent extent, IRoleType role) { return(new ExtentStatementChild(this, extent, role)); }
public override ExtentStatement CreateChild(SqlExtent extent, IAssociationType association) { return(new ExtentStatementChild(this, extent, association)); }
public abstract ExtentStatement CreateChild(SqlExtent extent, IRoleType role);
public abstract ExtentStatement CreateChild(SqlExtent extent, IAssociationType association);
public ExtentStatementChild(ExtentStatementRoot root, SqlExtent extent, IAssociationType associationType) : base(extent) { this.root = root; this.associationType = associationType; }
public ExtentStatementChild(ExtentStatementRoot root, SqlExtent extent, IRoleType roleType) : base(extent) { this.root = root; this.roleType = roleType; }