internal ReferenceBuilder Reference(string foreignKeyPropertyName, string primaryKeyPropertyName) { foreignKeyPropertyName.ThrowIfNullOrWhitespace(nameof(foreignKeyPropertyName)); primaryKeyPropertyName.ThrowIfNullOrWhitespace(nameof(primaryKeyPropertyName)); var referenceBuilder = new ReferenceBuilder(this, primaryKeyPropertyName, foreignKeyPropertyName); _referenceBuilders.Add(referenceBuilder); return(referenceBuilder); }
internal DeleteBehaviorBuilder(ReferenceBuilder referenceBuilder) { _referenceBuilder = referenceBuilder; }