public static ReferenceCollectionBuilder SharedNameExtension(this ReferenceCollectionBuilder builder, string value)
        {
            builder.HasAnnotation("Annotation", value + ".Annotation");
            builder.Metadata["Metadata"] = value + ".Metadata";
            builder.GetInfrastructure <IMutableModel>()["Model"] = value + ".Model";

            return(builder);
        }
        public static ReferenceCollectionBuilder HasConstraintName(
            [NotNull] this ReferenceCollectionBuilder referenceCollectionBuilder,
            [CanBeNull] string name)
        {
            Check.NotNull(referenceCollectionBuilder, nameof(referenceCollectionBuilder));
            Check.NullButNotEmpty(name, nameof(name));

            referenceCollectionBuilder.GetInfrastructure <InternalRelationshipBuilder>().Relational(ConfigurationSource.Explicit).HasConstraintName(name);

            return(referenceCollectionBuilder);
        }