0

I'm trying to connect to my context in my VS solution with EF Core

conexion

But when I test the connection I get this error

error

Because it is trying to connect with my domain user instead the user in the connection string

Any idea, please?

Thanks

kintela
  • 1,283
  • 1
  • 14
  • 32

1 Answers1

0

i cant post pictures in reply so i am using it as answer i will doublecheck lower versions (i guess 5) - since i dont know which version are you using (but image of EF connection is different than mine (!)) enter image description here in linqpad 7 it works enter image description here

enter image description here

in addition, if you need a context you can write using regular connection

using(TypedDataContext context = new TypedDataContext(Connection.ConnectionString)){
        
        context.TABLE.Where(w=>w.ID == 64463).Dump();
        
    }

enter image description here

Power Mouse
  • 727
  • 6
  • 16