DataContext Constructor (String)
Silverlight
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)
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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: