public EntityOptions CreateOptions(IModel model)
        {
            var optionsBuilder = new EntityOptionsBuilder();

            UseProviderOptions(optionsBuilder.UseModel(model));

            return(optionsBuilder.Options);
        }