DBConnect
Posted: Wed 08 Feb 2017 13:51
I'm working on a .NET Core 1.1 project with DB2. I use the libraries:
Devart.Data.DB2.Entity.EFCore
With the latest version 2.1.2.
I have a problem with DBConnection:
Services.AddDbContext <DB2Context> (options => options.UseDB2 (@ "user id = db2admin; server = db2; database = SAMPLE;"));
Error: DbConnection is defined in a non-referenced assembly. You must add System.Data, version: 4.0.0.0
Devart.Data.DB2.Entity.EFCore
With the latest version 2.1.2.
I have a problem with DBConnection:
Services.AddDbContext <DB2Context> (options => options.UseDB2 (@ "user id = db2admin; server = db2; database = SAMPLE;"));
Error: DbConnection is defined in a non-referenced assembly. You must add System.Data, version: 4.0.0.0