예제 #1
0
        public void AddModel <TModelConfig>() where TModelConfig : IModelConfig, new()
        {
            var config = new TModelConfig();

            DbContextBuilder.Config(config.BuildModel);
            DbContextBuilder.Seed(config.BuildSeedData);
        }