Beispiel #1
0
        internal SchemaCalculator(Transaction ktx)
        {
            this._dataRead  = ktx.DataRead();
            this._tokenRead = ktx.TokenRead();
            this._cursors   = ktx.Cursors();

            // the only one that is common for both nodes and rels so thats why we can do it here
            _propertyIdToPropertyNameMapping = new Dictionary <int, string>(_tokenRead.propertyKeyCount());
            AddNamesToCollection(_tokenRead.propertyKeyGetAllTokens(), _propertyIdToPropertyNameMapping);
        }