在一个实体集合中,我有 4 个实体。现在我需要按范围选择实体,这意味着我需要选择前两个实体。
之后,我需要从实体集合中删除前两个实体并选择接下来的两个实体。
伪代码
Entitycollection EC = totalValues;//here totalValues having 4 entities.
int startrange = 0;
int uptoRange = 2;
here i need to select the 0 to 2 Index entities from the entity Collection
forloop (<loop the newly selected value >)
{
}
最后我需要删除选定的值。