Export (0) Print
Expand All

DataContext Constructor

Initializes a new instance of the DataContext class. The connection string you use specifies the location and configuration parameters of the local database file in isolated storage.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Silverlight for Windows Phone DataContext(String) Initializes a new instance of the DataContext class by referencing a file source.
Public method Supported by Silverlight for Windows Phone DataContext(String, MappingSource) Initializes a new instance of the DataContext class by referencing a file source and a mapping source.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft