Bewerken

Delen via


DesignerDataTable Class

Definition

Represents a table in the data store.

public ref class DesignerDataTable abstract : System::ComponentModel::Design::Data::DesignerDataTableBase
public abstract class DesignerDataTable : System.ComponentModel.Design.Data.DesignerDataTableBase
type DesignerDataTable = class
    inherit DesignerDataTableBase
Public MustInherit Class DesignerDataTable
Inherits DesignerDataTableBase
Inheritance
DesignerDataTable

Remarks

The DesignerDataTable class is one of several types that represent the schema of a data store at design-time. These schema items are made available to controls by designers implementing the IDataEnvironment interface. Controls access schema objects by calling the GetConnectionSchema method of the interface.

The DesignerDataTable class represents a single table in the data store. A collection of DesignerDataTable objects is returned when you call the GetSchemaItems method with the schemaClass parameter set to DesignerDataSchemaClass.Tables.

Constructors

DesignerDataTable(String, String)

Initializes a new instance of the DesignerDataTable class with the specified name and owner.

DesignerDataTable(String)

Initializes a new instance of the DesignerDataTable class with the specified name.

Properties

Columns

Gets a collection of columns defined for a table or view.

(Inherited from DesignerDataTableBase)
Name

Gets the name of the data-store table or view.

(Inherited from DesignerDataTableBase)
Owner

Gets the owner of the data-store table or view.

(Inherited from DesignerDataTableBase)
Relationships

Gets a collection of relationships defined for a table.

Methods

CreateColumns()

When overridden in a derived class, returns a collection of data-store column objects.

(Inherited from DesignerDataTableBase)
CreateRelationships()

When overridden in a derived class, returns a collection of relationship objects.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to