Cannot implicitly convert type 'System.Linq.IQueryable' to 'System.Collections.Generic.IList'

后端 未结 7 1655
忘了有多久
忘了有多久 2020-12-14 06:16

I have a method:

public DzieckoAndOpiekunCollection GetChildAndOpiekunByFirstnameLastname(string firstname, string lastname)
{
    DataTransfer.ChargeInSchoo         


        
相关标签:
7条回答
  • 2020-12-14 07:17

    You can replace IList<DzieckoAndOpiekun> resultV with var resultV.

    0 讨论(0)
提交回复
热议问题