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
- column
Type: Microsoft.Data.Schema.SchemaModel.Abstract.IDatabaseColumn
An IDatabaseColumn object.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.