I have different schemas on a single database and I'm trying to connect to a schema called, say "test1".
My connectionstring (which I pass to the constructor of Entitites object) is as follows:
Code: Select all
metadata=res://Entity.DataModel.csdl|res://Entity.DataModel.ssdl|
res://Entity.DataModel.msl;provider=Devart.Data.PostgreSql;provider connection
string="Server=localhost; Port=5432;User Id=xxxxxx;Database=xxxxxx;Unicode=true;
Initial Schema=test1;"
"relation Notification already exists" CREATE TABLE public."Notification" (
"Id" bigserial NOT NULL,
"Type"
:
I used Initial Schema="test1" in the connection string but the entity object uses public schema.
Why is this happening?