We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package Version: 7.1.6 EF Core Version: 7.0.13 EF Core SQL Server Version: 7.0.13
7.1.6
7.0.13
public class A { public int Id { get; set; } public B B { get; set; } } public record B { public Status Status { get; init; } } public enum Status { Good, Bad } public class ATableConfiguration : IEntityTypeConfiguration<A> { public void Configure(EntityTypeBuilder<Tag> builder) { builder.OwnsOne(x => x.B, builder => { builder.Property(x => x.Status).HasConversion<string>(); }); } }
When running a bulk insert, B.Status is saved as an int
B.Status
int
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Package Version:
7.1.6
EF Core Version:
7.0.13
EF Core SQL Server Version:
7.0.13
When running a bulk insert,
B.Status
is saved as anint
The text was updated successfully, but these errors were encountered: