DbSet<T> is the class you should be using to define a property in your context class that corresponds to a table in your database. The type parameter
T represents a class that defines that table's structure in terms of .NET.
DbContext holds an underlying connection to the database, you should utilize the
IDisposable pattern and call
Dispose on your context when you are done using it. You can also use the
Using keyword to achieve the same.
Find method can be used to locate a row in the database. It takes one or more parameters corresponding to the values of the primary key. If you have a single column that defines the primary key, only one value is needed. Multiple parameter values ...