DataGenerationServices.AvailableColumnTypes Method
Returns a list of database data types that you choose to make available to define columns in Visual Studio.
Namespace: Microsoft.Data.Schema.Tools.DataGenerator
Assembly: Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)
Syntax
'Declaration
Public Overridable Function AvailableColumnTypes As ReadOnlyCollection(Of DbType)
public virtual ReadOnlyCollection<DbType> AvailableColumnTypes()
public:
virtual ReadOnlyCollection<DbType>^ AvailableColumnTypes()
abstract AvailableColumnTypes : unit -> ReadOnlyCollection<DbType>
override AvailableColumnTypes : unit -> ReadOnlyCollection<DbType>
public function AvailableColumnTypes() : ReadOnlyCollection<DbType>
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<DbType>
A list of available column data types.
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.