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

Extensions.CreateDatabaseSchemaUpdater Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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
)

Parameters

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 for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft