public IEnumerable <IIndexDefinition> GetIndexDefinitions(bool myIncludeAncestorDefinitions) { return((myIncludeAncestorDefinitions && HasParentType) ? GetIndices().Union(ParentVertexType.GetIndexDefinitions(true)) : GetIndices()); }
public bool HasIndexDefinitions(bool myIncludeAncestorDefinitions) { return((myIncludeAncestorDefinitions && HasParentType) ? _hasOwnIndices || ParentVertexType.HasIndexDefinitions(true) : _hasOwnIndices); }