I'm hopefully right in here!
Just created a new Plugin with Data Access found a issue in the Documentation:
http://docs.nopcommerce.com/display/en/Plugin+with+data+access
....
public class ProductViewTrackerRecordObjectContext : DbContext, IDbContext
{
public ProductViewTrackerRecordObjectContext(DbContextOptions<ProductViewTrackerRecordObjectContext> options) : base(nameOrConnectionString)
{
}
...
should be:
....
public class ProductViewTrackerRecordObjectContext : DbContext, IDbContext
{
public ProductViewTrackerRecordObjectContext(DbContextOptions<ProductViewTrackerRecordObjectContext> options) : base(options)
{
}
....
Maybe someone can fix the Documentation!
All the Best
Matthias