DataGenerationServices.MapGeneratorOutputToDbTypes Method
Returns an array of database data types that you judge to be appropriate to map output for the given custom database type.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public MustOverride Function MapGeneratorOutputToDbTypes ( _
customOutputType As Type _
) As DbType()
public abstract DbType[] MapGeneratorOutputToDbTypes(
Type customOutputType
)
public:
virtual array<DbType>^ MapGeneratorOutputToDbTypes(
Type^ customOutputType
) abstract
abstract MapGeneratorOutputToDbTypes :
customOutputType:Type -> DbType[]
public abstract function MapGeneratorOutputToDbTypes(
customOutputType : Type
) : DbType[]
Parameters
- customOutputType
Type: System.Type
A Type for a custom database data type.
Return Value
Type: array<System.Data.DbType[]
An array of appropriate database data types for the provided custom type.
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.