protected internal RelationshipEntityBuilderBase(RelationshipBuilder relationshipBuilder, string entityNamespace, string entityName) { entityNamespace.ThrowIfNullOrWhitespace(nameof(entityNamespace)); entityName.ThrowIfNullOrWhitespace(nameof(entityName)); RelationshipBuilder = relationshipBuilder; EntityNamespace = entityNamespace; EntityName = entityName; }
internal ReferenceBuilder(RelationshipBuilder relationshipBuilder, string primaryKeyPropertyName, string foreignKeyPropertyName) { PrimaryKeyPropertyName = primaryKeyPropertyName; ForeignKeyPropertyName = foreignKeyPropertyName; _relationshipBuilder = relationshipBuilder; }