Why is it necessary to explicitly declare accessors and mutators when declaring a DBSet?
In the example of
public DbSet<Genre> Genres { get; set; }
Why is it that without the explicitly declared { get; set; } the application will throw a Exception Details: System.ArgumentNullException: Value cannot be null.?
0 comments:
Post a Comment