public MultiPropertyMemoryIndex ( |
||
layer | Data access layer in use. | |
property | string | Property for this index. |
nextProperties | List |
Properties for the child indexes. Must have at least one. |
objects | IEnumerable |
All objects that will be in this index and its children. |
return | System |
public MultiPropertyMemoryIndex(MemoryDaLayer layer, string property,
List<string> nextProperties,
IEnumerable<MemoryObject> objects)
: base(layer, property)
{
_childProperty = nextProperties[0];
if (nextProperties.Count > 1)
{
_grandchildProperties = nextProperties.GetRange(1, nextProperties.Count - 1);
}
AddObjectsToSubIndexes(objects);
}