public virtual void CreateKeyIndex(string key, Type elementClass, params Parameter[] indexParameters) { KeyIndexableGraphContract.ValidateCreateKeyIndex(key, elementClass, indexParameters); if (typeof(IVertex).IsAssignableFrom(elementClass)) { VertexKeyIndex.CreateKeyIndex(key); } else { EdgeKeyIndex.CreateKeyIndex(key); } }
public void CreateKeyIndex(string key, Type elementClass, params Parameter[] indexParameters) { KeyIndexableGraphContract.ValidateCreateKeyIndex(key, elementClass, indexParameters); _baseGraph.CreateKeyIndex(key, elementClass, indexParameters); }