IDbColumnSchemaGenerator.GetColumnSchema Method

Definition

Gets the column schema (DbColumn collection).

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Common::DbColumn ^> ^ GetColumnSchema();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn> GetColumnSchema ();
abstract member GetColumnSchema : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn>
Public Function GetColumnSchema () As ReadOnlyCollection(Of DbColumn)

Returns

The column schema (DbColumn collection).

Remarks

By providing a custom implementation for the GetColumnSchema() method, a data provider can use the IDbColumnSchemaGenerator interface to populate DbColumn schema metadata without using a DataTable.

Applies to