DatabaseSchemaVersion Property
Collapse the table of content
Expand the table of content

DatabaseSchemaUpdater.DatabaseSchemaVersion Property

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

Get or sets the version of the corresponding local database schema.

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

public int DatabaseSchemaVersion { get; set; }

Property Value

Type: System.Int32
the version of the corresponding local database schema.

This property is automatically set to 0 when the database is created.

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