使用 官方 的efcore for MySQL 不映射guid字段 System.InvalidOperationException: The property 'NotificationInfo.Id' could not be mapped, because it is of type 'Guid' which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
添加回答
举报
0/150
提交
取消