I have code using EF with a connection string as in web.config (spaces and line breaks for clarity) :
connectionString=
metadata=res://*/Models.XXXDataContext.csdl|
res://*/Models.XXXDataContext.ssdl|
res://*/Models.XXXDataContext.msl;
provider=System.Data.SqlClient;
provider connection string="data source=xxxxxxxxxx.database.windows.net,1433;
initial catalog=db1;
user id=dba;
password=its-a-secret(bazinga!);
MultipleActiveResultSets=True;
App=EntityFramework"
I want to use the same connection string to execute a stored procedure to perform a merge insert/update
to another table.
Can I user the connection string as is to create sqlConnection(cnns-tring)
?
What is the purpose of the metadata=res: ...
entry here? also MultipleActiveResultSets=True
and App=EntityFramework
? Would they have any impact here?