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 would like to be able to have properties with filtered relationships. for example.
public class Blog
{
public int BlogId { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public List<Post> Posts { get; set; }
public List<Post> DeletedPosts { get; set; }
public List<Post> PopularPosts { get; set; }
}
public class Post
{
public int PostId { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public int Votes { get; set; }
public bool IsDeleted { get; set; }
public Blog Blog { get; set; }
}
I would like to be able to have properties with filtered relationships. for example.
and OnModelCreating
The text was updated successfully, but these errors were encountered: