CreateDatabaseSchemaUpdater Method
Collapse the table of content
Expand the table of content

Extensions.CreateDatabaseSchemaUpdater Method


Creates a DatabaseSchemaUpdater object based on the specified data context.

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

public static DatabaseSchemaUpdater CreateDatabaseSchemaUpdater(
	this DataContext dataContext


Type: System.Data.Linq.DataContext
The data context that is to be updated by the DatabaseSchemaUpdater object.

Return Value

Type: Microsoft.Phone.Data.Linq.DatabaseSchemaUpdater
The DatabaseSchemaUpdater object based on the specified data context.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataContext. When you use instance method syntax to call this method, omit the first parameter.

For information about 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

© 2016 Microsoft