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
I'm still struggling to get something like this working with the 2.1 bits:
public struct BlogId
{
public BlogId(int id)
{
Id = id;
}
public int Id { get; set; }
}
public class Blog
{
public BlogId BlogId { get; set; }
public string BlogUrl { get; set; }
public Theme Theme { get; set; }
}
What I'd like is for dotnet ef database update to produce the same structure as if I simply had public int BlogId {get; set; } on Blog. Can you add an example showing how to set up this kind of thing? Thanks!
The text was updated successfully, but these errors were encountered:
I'm still struggling to get something like this working with the 2.1 bits:
What I'd like is for
dotnet ef database update
to produce the same structure as if I simply hadpublic int BlogId {get; set; }
onBlog
. Can you add an example showing how to set up this kind of thing? Thanks!The text was updated successfully, but these errors were encountered: