/// <summary> /// Called by application code early in the app life cycle to initialize /// all plugins. Will be called sometime after migrations have run. /// </summary> /// <param name="context">The database context the plugin can make changes in.</param> public virtual void Initialize(EntityDbContext context) { }
/// <summary> /// Initializes a new instance of the <see cref="DataSet{T}"/> class. /// </summary> /// <param name="context">The underlying context that will own this data set.</param> public DataSet(EntityDbContext context) { Context = context; DbSet = context.Set <T>(); }