DatabaseSchemaProvider.GetSchemaUpgradeXslt Method

When implemented in a derived class, returns XSLT to convert a schema model of the provided version to match the current schema model.

Namespace:  Microsoft.Data.Schema
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Overridable Function GetSchemaUpgradeXslt ( _
    fromVersion As String _
) As String
public virtual string GetSchemaUpgradeXslt(
    string fromVersion
)
public:
virtual String^ GetSchemaUpgradeXslt(
    String^ fromVersion
)
abstract GetSchemaUpgradeXslt : 
        fromVersion:string -> string 
override GetSchemaUpgradeXslt : 
        fromVersion:string -> string 
public function GetSchemaUpgradeXslt(
    fromVersion : String
) : String

Parameters

  • fromVersion
    Type: System.String
    An XML string that contains the database schema to be converted.

Return Value

Type: System.String
An XSLT string to perform the conversion if a database that has the provided version can be converted to match that of the ModelSchema property; otherwise, nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DatabaseSchemaProvider Class

Microsoft.Data.Schema Namespace

ModelSchema