Part Four: Adding a Model - matthewmorris41/MCVMovie2 GitHub Wiki
- what is a Dbcset (use the C# names "generics" and "Collection")
The MovieDBContext class represents the Entity Framework movie database context, which handles fetching, storing, and updating Movie class instances in a database. The MovieDBContext derives from the DbContext base class provided by the Entity Framework.
- what is the {get; set; } syntax, and what do you use it for?
The accessor of a property contains the executable statements associated with getting (reading or computing) or setting (writing) the property. The accessor declarations can contain a get accessor, a set accessor, or both.