private void Init()
 {
     // Load the database from disk.
     using (var schema = ValidationResources.GetSchemaStream(this._fileFormat))
     {
         this.Load(schema);
     }
 }
示例#2
0
        public BinarySdbSchemaDatas(FileFormatVersions fileFormat)
        {
            Debug.Assert(fileFormat.Any());

            this.SdbDataHead = new SdbDataHead();
            this._fileFormat = fileFormat;

            using (var schema = ValidationResources.GetSchemaStream(this._fileFormat))
            {
                this.Load(schema);
            }
        }