Share via


DataGenerationServices.GetDbTypeExtension Method

Returns a type that represents an extended database type output to which you want the provided column to be mapped.

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

Syntax

'Declaration
Public Overridable Function GetDbTypeExtension ( _
    column As IDatabaseColumn _
) As Type
public virtual Type GetDbTypeExtension(
    IDatabaseColumn column
)
public:
virtual Type^ GetDbTypeExtension(
    IDatabaseColumn^ column
)
abstract GetDbTypeExtension : 
        column:IDatabaseColumn -> Type 
override GetDbTypeExtension : 
        column:IDatabaseColumn -> Type 
public function GetDbTypeExtension(
    column : IDatabaseColumn
) : Type

Parameters

Return Value

Type: System.Type
One of the values that are provided by the AvailableExtensionTypes method.

Remarks

If a column maps the first time to Object in the interface, Visual Studio calls this method to get a more specific type of output to which this column can be mapped.

Provide this information through this method so that your database schema model can be represented in Visual Studio projects, where users can create and manipulate database objects that you have defined in your model.

.NET Framework Security

See Also

Reference

DataGenerationServices Class

Microsoft.Data.Schema.Tools.DataGenerator Namespace

IDatabaseColumn

AvailableExtensionTypes