Closed isaac-ferrer-tmt closed 10 months ago
Thanks, I'll look at this and fix it fox 8.0.1.
Same problem here but I just don't have any uint anywhere in my models, only int32 and int64.
Of course there was an unseen uint in a mapped record:
public record DatabaseInfoEntity(
[property: Key, Column("oid", TypeName = "oid")] uint ObjectId,
[property: Column("datname")] string DbName,
[property: Column("description")] string? Description)
Removed this one and now a compiled model gets created - but it doesn't compile due to private nested classes being referenced: https://github.com/npgsql/efcore.pg/issues/2972
(and I can't change the class as it comes from IdentityFramework: property DateTimeOffSet? LockoutEnd
in user entity)
I have some entities with a uint concurrency token, mapped to the
xmin
system column, for example:I have upgraded to 8.0. When I run
Optimize-DbContext
to compile the context, I get the following exception:It was working fine on 7.0.