且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IQueryable的列出< T>

更新时间:2022-03-13 15:02:05

的IQueryable可以是T型的EG
的IQueryable查询= + CampaignManager.GetCampaign

IQueryable can be of type T e.g. IQueryable query=+CampaignManager.GetCampaign

但由于您使用的IQueryable可以使用

but since you are using IQueryable you can use

var enumerator= c.GetEnumerator();
            while (enumerator.MoveNext())
            {
             //add these records to some collection say Collection or Campaign or Create any entity with Name and Id and then assign that collection to DataSource    
            }

我已经试过了它的工作就可以继续机智。

i have tried that it's working you can proceed wit it.