This question is locked. New answers and comments are not allowed.
I'm doing some experiments on using SQL Azure federations to enable muti-tenancy in a web app with Openaccess. The main thing I'm trying to accomplish is making sure to run
on every connection, before any subsequent queries on that connection are executed.string
federationCmdText = String.Format(@
"USE FEDERATION FED_1 (TenantID={0}) WITH FILTERING=ON, RESET"
, tenantID);
context.ExecuteNonQuery(federationCmdText);
How can I accomplish this with Openaccess?
Thanks,
Mike