DataGenerationServices.AvailableExtensionTypes Method
Returns a read-only collection of extended data types that you want to make available for use in the Tools Options dialog box.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Overridable Function AvailableExtensionTypes As ReadOnlyCollection(Of Type)
public virtual ReadOnlyCollection<Type> AvailableExtensionTypes()
public:
virtual ReadOnlyCollection<Type^>^ AvailableExtensionTypes()
abstract AvailableExtensionTypes : unit -> ReadOnlyCollection<Type>
override AvailableExtensionTypes : unit -> ReadOnlyCollection<Type>
public function AvailableExtensionTypes() : ReadOnlyCollection<Type>
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<Type>
A list of available extended types that can be coerced into database column types.
Remarks
An example of an extended data type might be SqlImage, which might be mapped to the varbinary data type in a SQL Server column.
Provide this information through this method so that the database schema model can be represented in Visual Studio projects, where users can create and run 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.