Hi
I have below 2 classes and how they will be written in DbContext
Thanks
public partial class AuthorViewModel
{
[Key]
public int Id { get; set; }
public string AuthorName { get; set; }
public string Address { get; set; }
}
public partial class AuthorListViewModel
{
public IEnumerable<AuthorViewModel> AuthorList {get;set;}
}