You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Todd Thomson edited this page Aug 22, 2018
·
1 revision
Data Context
The DataContext class in Entities.Sqlite provides entity data services over a single database connection. Your application creates a custom or specific context by deriving from DataContext. Within your data context the main task is to build the entity data model.
Entity Data Model
The Entity Data Model is built in code by overriding the data context OnModelBuilding() method.
Entity Sets
Within your data context you create an EntitySet<TEntity> property for each entity within your model.