DataContext Constructor (String)

Initializes a new instance of the DataContext class by referencing a file source.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

No code example is currently available or this language may not be supported.

Parameters

fileOrConnection
Type: System::String
This argument can be any one of the following:
Using the isostore:/ prefix, the name of the file where a local database resides in isolated storage.
A complete connection string.

For information about supported connection strings and using a local database in your Windows Phone application, see Local Database Overview for Windows Phone.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: