EntityContext Constructor (String, String)

 

Initializes a new instance of the EntityContext with a given schema and nameOrConnectionString.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service.Entity (in Microsoft.WindowsAzure.Mobile.Service.Entity.dll)

Protected Sub New (
	schema As String,
	nameOrConnectionString As String
)

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.

Return to top
Show: