You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does it possible to use another column from the same table when defining the converter ?
I try to find on the web, but didn't find any answer.
Steps to reproduce
builder.OwnsOne(x =>x.Type).Property(x =>x.Code).HasColumnName("TypeCode");builder.Property(x =>x.Detail).HasConversion(
x =>XmlSerializer.SerializeDetail(x),
x =>XmlSerializer.DeserializeDetail<IDetail>("Should be the value from the column TypeCode",x));
Further technical details
EF Core version: 2.1.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
IDE: Visual Studio 2017 15.7.3
The text was updated successfully, but these errors were encountered:
Does it possible to use another column from the same table when defining the converter ?
I try to find on the web, but didn't find any answer.
Steps to reproduce
Further technical details
EF Core version: 2.1.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
IDE: Visual Studio 2017 15.7.3
The text was updated successfully, but these errors were encountered: