示例#1
0
        protected internal RelationshipEntityBuilderBase(RelationshipBuilder relationshipBuilder, string entityNamespace, string entityName)
        {
            entityNamespace.ThrowIfNullOrWhitespace(nameof(entityNamespace));
            entityName.ThrowIfNullOrWhitespace(nameof(entityName));

            RelationshipBuilder = relationshipBuilder;
            EntityNamespace     = entityNamespace;
            EntityName          = entityName;
        }
示例#2
0
 internal ReferenceBuilder(RelationshipBuilder relationshipBuilder, string primaryKeyPropertyName, string foreignKeyPropertyName)
 {
     PrimaryKeyPropertyName = primaryKeyPropertyName;
     ForeignKeyPropertyName = foreignKeyPropertyName;
     _relationshipBuilder   = relationshipBuilder;
 }