We are using Devart 9.7.770.0 with EF Core 2.2.4, and we can't seem to succeed in getting ".ValueGeneratedOnAdd()" fluent API configuration to generate our ID primary key columns "GENERATED BY DEFAULT AS IDENTITY" - or any form of "AS IDENTITY" at all, in fact.
Seems like we might be missing something, or maybe we are forced into upgrading our Devart-reference?
Could you confirm whether this is:
A) Correctly a reproducible issue for this Devart version on your end, and
B) Let us know whether our expected end-result (GENERATED BY DEFAULT AS IDENTITY) is achieved if we use the latest Devart version?
Fluent API config:
Code: Select all
builder.Property(x => x.Id).HasColumnType(@"NUMBER").IsRequired().ValueGeneratedOnAdd();
Code: Select all
public int Id { get; set; }