Поделиться через


DataGenerationServices.MapColumnToDbTypes Method

Returns a list of your choices for the most appropriate data types for the provided column.

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

Syntax

'Declaration
Public MustOverride Function MapColumnToDbTypes ( _
    column As IDatabaseColumn _
) As DbType()
public abstract DbType[] MapColumnToDbTypes(
    IDatabaseColumn column
)
public:
virtual array<DbType>^ MapColumnToDbTypes(
    IDatabaseColumn^ column
) abstract
abstract MapColumnToDbTypes : 
        column:IDatabaseColumn -> DbType[] 
public abstract function MapColumnToDbTypes(
    column : IDatabaseColumn
) : DbType[]

Parameters

Return Value

Type: array<System.Data.DbType[]
The list of most appropriate data types for the provided column.

Remarks

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

MapColumnToDefaultDbType

IDatabaseColumn

DbType