/// <summary>
        /// 初始化一个<see cref="LocalInitializeOptions"/>类型的新实例
        /// </summary>
        public LocalInitializeOptions(IBasicLoggingInitializer basicLoggingInitializer, IIocInitializer iocInitializer)
        {
            basicLoggingInitializer.CheckNotNull("basicLoggingInitializer");
            iocInitializer.CheckNotNull("iocInitializer");

            PlatformToken       = PlatformToken.Local;
            DataConfigReseter   = new DataConfigReseter();
            DatabaseInitializer = new DatabaseInitializer();
            EntityInfoHandler   = new EntityInfoHandler()
            {
                IocResolver = new LocalIocResolver()
            };
            FunctionHandler = new NullFunctionHandler()
            {
                IocResolver = new LocalIocResolver()
            };
            BasicLoggingInitializer = basicLoggingInitializer;
            IocInitializer          = iocInitializer;
        }
 /// <summary>
 /// 初始化一个<see cref="MvcFrameworkInitializer"/>类型的新实例
 /// </summary>
 public MvcFrameworkInitializer()
 {
     PlatformToken = PlatformToken.Mvc;
     DataConfigReseter = new DataConfigReseter<OJavaDbContext, OJavaDbContextInitializer>();
     DatabaseInitializer = new DatabaseInitializer<OJavaDbContext, OJavaDbContextInitializer>();
 }
 /// <summary>
 /// 初始化一个<see cref="MvcFrameworkInitializer"/>类型的新实例
 /// </summary>
 public MvcFrameworkInitializer()
 {
     PlatformToken = PlatformToken.Mvc;
     DataConfigReseter = new DataConfigReseter();
     DatabaseInitializer = new DatabaseInitializer();
 }