public CsdlSemanticsReferentialConstraint(CsdlSemanticsAssociation context, CsdlReferentialConstraint constraint) : base(constraint) { this.context = context; this.constraint = constraint; }
public CsdlSemanticsReferentialConstraint(CsdlSemanticsAssociation context, CsdlReferentialConstraint constraint) : base(constraint) { this.principalCache = new Cache<CsdlSemanticsReferentialConstraint, IEdmAssociationEnd>(); this.dependentPropertiesCache = new Cache<CsdlSemanticsReferentialConstraint, IEnumerable<IEdmStructuralProperty>>(); this.errorsCache = new Cache<CsdlSemanticsReferentialConstraint, IEnumerable<EdmError>>(); this.principalKeyPropertiesNotFoundInPrincipalPropertiesCache = new Cache<CsdlSemanticsReferentialConstraint, IEnumerable<string>>(); this.dependentPropertiesNotFoundInDependentTypeCache = new Cache<CsdlSemanticsReferentialConstraint, IEnumerable<string>>(); this.context = context; this.constraint = constraint; }
public CsdlSemanticsAssociationEnd(CsdlSemanticsSchema context, CsdlSemanticsAssociation association, CsdlAssociationEnd end) : base(end) { this.typeCache = new Cache<CsdlSemanticsAssociationEnd, IEdmEntityType>(); this.errorsCache = new Cache<CsdlSemanticsAssociationEnd, IEnumerable<EdmError>>(); this.end = end; this.definingAssociation = association; this.context = context; }