private void NewSystemData(byte freespaceSystemType, byte idSystemType) { _systemData = new Db4objects.Db4o.Internal.SystemData(); _systemData.StringEncoding(ConfigImpl.Encoding()); _systemData.FreespaceSystem(freespaceSystemType); _systemData.IdSystemType(idSystemType); }
internal virtual void ConfigureNewFile() { BlockSize(ConfigImpl.BlockSize()); _fileHeader = FileHeader.NewCurrentFileHeader(); SetRegularEndAddress(_fileHeader.Length()); NewSystemData(ConfigImpl.FreespaceSystem(), ConfigImpl.IdSystemType()); SystemData().ConverterVersion(Converter.Version); CreateStringIO(_systemData.StringEncoding()); CreateIdSystem(); InitializeClassMetadataRepository(); InitalizeWeakReferenceSupport(); GenerateNewIdentity(); AbstractFreespaceManager blockedFreespaceManager = AbstractFreespaceManager.CreateNew (this); InstallFreespaceManager(blockedFreespaceManager); InitNewClassCollection(); InitializeEssentialClasses(); _fileHeader.InitNew(this); blockedFreespaceManager.Start(0); }
private void NewSystemData(byte freespaceSystemType, byte idSystemType) { _systemData = new Db4objects.Db4o.Internal.SystemData(); _systemData.StringEncoding(ConfigImpl.Encoding()); _systemData.FreespaceSystem(freespaceSystemType); _systemData.IdSystemType(idSystemType); }