使用 官方 的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'.
qq_笑_17
米脂
随时随地看视频慕课网APP
相关分类