EF Core
写bug的精神小伙
写bug的小伙子
展开
-
C# The entity type ‘IdentityUserLogin<string>‘ requires a primary key to be defined
The entity type ‘IdentityUserLogin’ requires a primary key to be defined. If you intended to use a keyless entity type, call ‘HasNoKey’ in ‘OnModelCreating’ 当 EF 读取数据时抛出以下异常 System.InvalidOperationException: The entity type 'IdentityUserLogin<string>原创 2022-02-10 11:09:01 · 3674 阅读 · 4 评论 -
EFcore Value does not fall within the expected range.
EFcore Value does not fall within the expected range.原创 2021-12-24 14:02:57 · 990 阅读 · 1 评论