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;
		}
Exemplo n.º 3
0
		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;
		}
Exemplo n.º 4
0
 public CsdlSemanticsReferentialConstraint(CsdlSemanticsAssociation context, CsdlReferentialConstraint constraint)
     : base(constraint)
 {
     this.context    = context;
     this.constraint = constraint;
 }