public static void ConfigureMyProjectName(
            this IMongoModelBuilder builder,
            Action <MongoModelBuilderConfigurationOptions> optionsAction = null)
        {
            Check.NotNull(builder, nameof(builder));

            var options = new MyProjectNameMongoModelBuilderConfigurationOptions();

            optionsAction?.Invoke(options);
        }
예제 #2
0
        public static void ConfigureMyProjectName(
            this IMongoModelBuilder builder,
            Action <RocketMongoModelBuilderConfigurationOptions> optionsAction = null)
        {
            Check.NotNull(builder, nameof(builder));

            var options = new MyProjectNameMongoModelBuilderConfigurationOptions(
                MyProjectNameDbProperties.DbTablePrefix
                );

            optionsAction?.Invoke(options);
        }