public CustomNavigationPropertyAttribute( bool isPrimaryEnd, string entitySetName, CustomMultiplicity multiplicity, string relatedEndEntitySetName, Type relatedEndEntityType, CustomMultiplicity relatedEndMultiplicity ) { _isPrimaryEnd = isPrimaryEnd; _entitySetName = entitySetName; _multiplicity = multiplicity; _relatedEndEntitySetName = relatedEndEntitySetName; _relatedEndEntityType = relatedEndEntityType; _relatedEndMultiplicity = relatedEndMultiplicity; }
public void DefferedInitialization( bool isPrimaryEnd, CustomEntitySetType entitySetType, CustomEntityType entityType, CustomNavigationPropertyType relatedProperty, CustomMultiplicity multiplicity ) { Debug.Assert(!_readonly); _isPrimaryEnd = isPrimaryEnd; _entitySetType = entitySetType; _entityType = entityType; _relatedProperty = relatedProperty; _multiplicity = multiplicity; _readonly = true; }