Пример #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public int labelCreateForName(String labelName) throws org.neo4j.internal.kernel.api.exceptions.schema.IllegalTokenNameException, org.neo4j.internal.kernel.api.exceptions.schema.TooManyLabelsException
        public override int LabelCreateForName(string labelName)
        {
            _ktx.assertOpen();
            int id = _store.reserveLabelTokenId();

            _ktx.txState().labelDoCreateForName(labelName, id);
            return(id);
        }