EntityContext Constructor (String, String)
Initializes a new instance of the EntityContext with a given schema and nameOrConnectionString.
Assembly: Microsoft.WindowsAzure.Mobile.Service.Entity (in Microsoft.WindowsAzure.Mobile.Service.Entity.dll)
Parameters
- schema
-
Type:
System.String
The schema name to use for this DbContext. It is recommended that the service name (which can be obtained from the ServiceSettingsDictionary be used as the schema name).
- nameOrConnectionString
-
Type:
System.String
The connection string name or connection string to use.
Show: