internal long MaxOrderedIdentifier(Guid instanceId) { if (Count(instanceId) == 0) { return((long)0); } else { return((long)BPlusTreeOperations.RightEdge(provider, provider.GetNode(instanceId, NodeAccess.Read)).Data.Data); } }