Beispiel #1
0
        public virtual void DropKeyIndex(string key, Type elementClass)
        {
            KeyIndexableGraphContract.ValidateDropKeyIndex(key, elementClass);

            if (typeof(IVertex).IsAssignableFrom(elementClass))
            {
                VertexKeyIndex.DropKeyIndex(key);
            }
            else
            {
                EdgeKeyIndex.DropKeyIndex(key);
            }
        }
        public void DropKeyIndex(string key, Type elementClass)
        {
            KeyIndexableGraphContract.ValidateDropKeyIndex(key, elementClass);

            throw new InvalidOperationException(ReadOnlyTokens.MutateErrorMessage);
        }
Beispiel #3
0
        public void DropKeyIndex(string key, Type elementClass)
        {
            KeyIndexableGraphContract.ValidateDropKeyIndex(key, elementClass);

            _baseGraph.DropKeyIndex(key, elementClass);
        }