Extensions Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Extends the LINQ to SQL API in a Windows Phone application to enable schema changes to a local database.

Inheritance Hierarchy

System.Object
  Microsoft.Phone.Data.Linq.Extensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class Extensions
public static class Extensions

The Extensions type exposes the following members.

Methods

  Name Description
Public methodStatic memberSupported by Silverlight for Windows Phone CreateDatabaseSchemaUpdater Creates a DatabaseSchemaUpdater object based on the specified data context.

Top

Remarks

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

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.