コード例 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void verifyDeferredConstraints(org.neo4j.storageengine.api.NodePropertyAccessor nodePropertyAccessor) throws org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException
        public override void VerifyDeferredConstraints(NodePropertyAccessor nodePropertyAccessor)
        {
            try
            {
                LuceneIndex.verifyUniqueness(nodePropertyAccessor, Descriptor.schema().PropertyIds);
            }
            catch (IOException e)
            {
                throw new UncheckedIOException(e);
            }
        }
コード例 #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void verifyDeferredConstraints(org.neo4j.storageengine.api.NodePropertyAccessor accessor) throws org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException
        public override void VerifyDeferredConstraints(NodePropertyAccessor accessor)
        {
            try
            {
                LuceneIndex.verifyUniqueness(accessor, _propertyKeyIds);
            }
            catch (IOException e)
            {
                throw new UncheckedIOException(e);
            }
        }