2020年12月24日星期四

I'm trying to update multiple table using ef core 5.0. But I'm getting error on foreach loop

--EMPLOYEE ENTITY public class EmployeeInfo { public Guid EmployeeInfoId { get; set; } [StringLength(150)] [Required] public string FirstName { get; set; } [StringLength(150)] public string LastName { get; set; } public Guid? GenderId { get; set; } [StringLength(10)] public string Code { get; set; } [StringLength(10)] public string EnrollNo { get; set; }

        public List<EmployeeAddress> EmployeeAddresses { get; set; } = new List<EmployeeAddress>();      }  
https://stackoverflow.com/questions/65444648/im-trying-to-update-multiple-table-using-ef-core-5-0-but-im-getting-error-on December 25, 2020 at 10:04AM

没有评论:

发表评论