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

            _ktx.txState().relationshipTypeDoCreateForName(relationshipTypeName, id);
            return(id);
        }