DataPlace
TableDesignModel Class
CSCS.DataPlace.CommonTableDesignModel
Provides for managing the design of a table.
Declaration Syntax
C#
public class TableDesignModel : Component
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
TableDesignModel()()()
Creates a new instance.

TableDesignModel(IContainer)
Creates a new instance.

Alias
Gets the user's alias.

BindingSource
Encapsulates the table being edited as the data source.

CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
ConnString
Gets a connection string for the Database.

Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Database
Gets the target database.

DataChanged
Occurs when a change has been made (to either table or column data).

DataSaved
Occurs when changes have been saved.

DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Dispose(Boolean)
Clean up any resources being used.
(Overrides Component.Dispose(Boolean).)
Dispose()()()
Releases all resources used by the Component.
(Inherited from Component.)
Disposed
Occurs when the component is disposed by a call to the Dispose()()() method.
(Inherited from Component.)
DpColumnRow
Gets the DPColumnRow associated with the current item.

DpColumnView
Gets the DPColumn view that includes rows that represent the columns in the table being edited, sorted by column name.

DpRelView
Gets a DPRelationship view that includes rows that represent tables that are related to the one being edited.

DpTableRow
Gets the DPTable row for the table being edited. Any changes to the row's column values are saved to the corresponding columns of the 'live' DPTable row when SaveChanges()()() is called.

DpTableRowLive
Gets the 'live' DPTable row for the table being edited.

DpTableView
Gets a DPTable view that includes rows for all active user tables.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Finalize()()()
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetService(Type)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
HasChanges
Gets whether there are any unsaved changes.

HasErrors
Gets whether there are any errors.

Initialize(Database, DataPlace..::.DPTableRow)
Establishes the table whose design is being viewed or edited.

Initialized
Occurs when the object is initialized and ready for use.

InitializeLifetimeService()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
IsCurrentItemNew
Gets whether the current item is new (true) or already exists in the database (false).

IsInitialized
Gets whether the object is initialized and ready for use.

MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
NextSortKey
Gets or sets the next available sort key value, which is presumably greater than any other sort key in the table, to be applied to the next new row. Whenever used, the value should be incremented for the next new row.

OnDataChanged(EventArgs)
Raises the DataChanged event.

OnDataSaved(EventArgs)
Raises the DataSaved event.

OnInitialized(EventArgs)
Raises the Initialized event.

OnTableDataChanged(EventArgs)
Raises the TableDataChanged event.

SaveChanges()()()
Saves changes, if any.

Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
TableDataChanged
Occurs when a change has been made to table data.

TableExtensions
Gets an object containing the extended table properties.

ToString()()()
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Inheritance Hierarchy
Object
MarshalByRefObject
 Component
  TableDesignModel

Assembly: CS.DataPlace.Common (Module: CS.DataPlace.Common) Version: 2.0.3271.19817