public static void ConfigureMyProjectName( this IMongoModelBuilder builder, Action <MongoModelBuilderConfigurationOptions> optionsAction = null) { Check.NotNull(builder, nameof(builder)); var options = new MyProjectNameMongoModelBuilderConfigurationOptions(); optionsAction?.Invoke(options); }
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); }