osharpV3数据库初始化

时间:2021-08-20 20:48:31
            var databaseInitializer = new DatabaseInitializer();
databaseInitializer.MapperAssemblyFinder = new EntityMapperAssemblyFinder() { AllAssemblyFinder = new CanDoo.Core.Reflection.DirectoryAssemblyFinder() };
databaseInitializer.Initialize(CanDoo.Core.Configs.CanDooConfig.Instance.DataConfig);