コード例 #1
0
 public ExtendedLocalStorageEngine(IBaseIdentification parameters)
     : base(parameters)
 {
     provider = new ExtendedCoreProvider();
 }
コード例 #2
0
        private void Connect()
        {
            //			odb = ODBFactory.Open(Profile.Path);
            OdbConfiguration.SetCheckModelCompatibility(false);
            OdbConfiguration.SetAutomaticallyIncreaseCacheSize(true);
            //			var fileParameter = new IOFileParameter(Profile.Path, false, "test", "test");
            var fileParameter = new IOFileParameter(Profile.Path, true, null, null);
            //			ICoreProvider coreProvider = OdbConfiguration.GetCoreProvider();
            var coreProvider = new ExtendedCoreProvider();

            storageEngine = coreProvider.GetClientStorageEngine(fileParameter);
        }