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.
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.DatabaseSchemaUpdaterThe 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.
Show: