Beispiel #1
0
        public static ModelBuilderTest.TestIndexBuilder HasName(
            this ModelBuilderTest.TestIndexBuilder builder, string name)
        {
            var indexBuilder = builder.GetInfrastructure();

            indexBuilder.HasName(name);
            return(builder);
        }
Beispiel #2
0
        public static ModelBuilderTest.TestIndexBuilder HasFilter(
            this ModelBuilderTest.TestIndexBuilder builder, string filterExpression)
        {
            var indexBuilder = builder.GetInfrastructure();

            indexBuilder.HasFilter(filterExpression);
            return(builder);
        }
Beispiel #3
0
        public static ModelBuilderTest.TestIndexBuilder IsClustered(
            this ModelBuilderTest.TestIndexBuilder builder, bool clustered = true)
        {
            var indexBuilder = builder.GetInfrastructure();

            indexBuilder.IsClustered(clustered);
            return(builder);
        }