SqlDataAdapter sqlda = new SqlDataAdapter(("SELECT Master_ID,Station,Job_ID,Conveyor,Andon_PC,Cast(Start_TimeClose_Time as time(2) )as Close_Time,Duration,Loss_Type,Loss_Description,Reason,Line_Name FROM Vehicle_Andon
dto.ID, };}有一点是,TranslatetoDto(Jmp.Andon.Service.Data.Layout)方法不在Jmp.Andon.Models.LayoutsDto对象中。LINQ to Entities does not recognize the method 'Jmp.Andon.Models.LayoutsDto TranslatetoDto(Jmp.Andon<