-
Notifications
You must be signed in to change notification settings - Fork 2
Data Context
Todd Thomson edited this page Aug 22, 2018
·
1 revision
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.
The Entity Data Model is built in code by overriding the data context OnModelBuilding()
method.
Within your data context you create an EntitySet<TEntity>
property for each entity within your model.