使用 官方 的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'.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/644/viewspace-3155133/ ,如需转载,请注明出处,否则将追究法律责任。