怎么快速的查詢數(shù)據(jù)的總條數(shù) 我用下面的方法查詢 結(jié)果會報錯 在query.LoadAsync();的地方 DataServiceCollection<ZX_Elevator> FristEntitiesCount = new DataServiceCollection<ZX_Elevator>();
var query = (from art in SSC.ZX_Elevator select art.id) as DataServiceCollection<ZX_Elevator>;
query.LoadAsync();
query.LoadCompleted += new EventHandler<LoadCompletedEventArgs>(Count_LoadCompleted);在做分頁的時候 wcf data service 怎么樣做是最快的查詢出數(shù)據(jù) 和 數(shù)據(jù)總數(shù)
wcf data service怎么快速的查詢數(shù)據(jù)的總條數(shù)
偶然的你
2018-07-10 14:26:25