Unit 'ghSQL' Package
[Overview][Types][Classes][Index] [#pl_greyhound]

TghSQLTable

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: ghsql.pas line 169

type TghSQLTable = class(TghSQLClient)

protected

  FData: TDataSet;

  

  class procedure ClassInitialization;

  

  class procedure ClassFinalization;

  

  procedure SetPacketRecords(); override;

  

  procedure CheckData;

  

  procedure InternalCommit(); virtual;

  

  procedure InternalRollback(); virtual;

  

  function CheckValues; virtual;

  

  procedure SetDefaultValues; virtual;

  

  procedure CopyParamValuesFromOwnerTable;

  

  procedure MakeScript; virtual;

  

  procedure DoBeforeCommit; virtual;

  

  procedure DoAfterCommit; virtual;

  

  procedure CallFoundTable(); virtual;

  

  procedure CallAfterScroll(); virtual;

  

public

  constructor Create();

  

  destructor Destroy; override;

  

  procedure Assign(); override;

  

  procedure Clear; override;

  

  function Close;

  

  procedure Open();

  

  function Insert;

  

  function Append;

  

  function Edit;

  

  function Post;

  

  function Cancel;

  

  function Delete;

  

  function DeleteAll;

  

  function Commit;

  

  function CommitRetaining;

  

  function Rollback;

  

  function RollbackRetaining;

  

  function Refresh;

  

  function First;

  

  function Prior;

  

  function Next;

  

  function Last;

  

  function Select();

  

  function Where();

  

  function OrderBy();

  

  function GetColumns;

  

  function HasErrors;

  

  function GetErrors;

  

  procedure SetDataRow();

  

  function Locate();

  

  property Active: Boolean; [r]

  

  property Columns []: TField; default; [r]

  

  property Connector: TghSQLConnector; [rw]

  

  property State: TDataSetState; [r]

  

  property EOF: Boolean; [r]

  

  property IsEmpty: Boolean; [r]

  

  property Links: TghSQLTableList; [r]

  

  property OwnerTable: TghSQLTable; [rw]

  

  property RecordCount: LongInt; [r]

  

  property Alias: string; [rw]

  

  property TableName: string; [rw]

  

  property Relations: TghSQLTableList; [r]

  

  property Constraints: TghSQLConstraintList; [r]

  

  property EnforceConstraints: Boolean; [r]

  

  property UseRetaining: Boolean; [rw]

  

  property BeforeCommit: TNotifyEvent; [rw]

  

  property AfterCommit: TNotifyEvent; [rw]

  

end;

Inheritance

TghSQLTable

  

|

TghSQLClient

  

|

TghSQLHandler

  

|

TghSQLStatement

  

|

TghSQLObject

  

|

TghDataObject

  

|

TghObject

  

|

TObject



CT Web help

CodeTyphon Studio