public class WebSDb4 : DbContext { public DbSet<User> Users { get; set; } public DbSet<UserData> UserDatas { get; set; } public DbSet<Note> Notes { get; set; } public DbSet<Session> Sessions { get; set; } } 

How to correctly write moq for such a context?
PS I do not know whether it is necessary to throw descriptions of all models, it will turn out quite volume.

  • See. Stackoverflow.com/q/431827/184217 Here are just moki db test insertion / reading to / from the collection. And the meaning in them is almost zero. - Alexander Petrov

0