示例#1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public int propertyKeyCreateForName(String propertyKeyName) throws org.neo4j.internal.kernel.api.exceptions.schema.IllegalTokenNameException
        public override int PropertyKeyCreateForName(string propertyKeyName)
        {
            _ktx.assertOpen();
            int id = _store.reservePropertyKeyTokenId();

            _ktx.txState().propertyKeyDoCreateForName(propertyKeyName, id);
            return(id);
        }