コード例 #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);
            }
        }
コード例 #2
0
        public void DropKeyIndex(string key, Type elementClass)
        {
            KeyIndexableGraphContract.ValidateDropKeyIndex(key, elementClass);

            throw new InvalidOperationException(ReadOnlyTokens.MutateErrorMessage);
        }
コード例 #3
0
ファイル: IdGraph.cs プロジェクト: marinusmaurice/VelocityDB
        public void DropKeyIndex(string key, Type elementClass)
        {
            KeyIndexableGraphContract.ValidateDropKeyIndex(key, elementClass);

            _baseGraph.DropKeyIndex(key, elementClass);
        }