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