[Overview][Resource strings][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'tiObject' (#tiopf)

TtiObject.ReadPK

Read in the primary Key values only from the database for this object

Declaration

Source position: tiObject.pas line 374

protected procedure TtiObject.ReadPK(

  const ADBConnectionName: string;

  APersistenceLayerName: string = ''

); virtual; overload;

procedure TtiObject.ReadPK; virtual; overload;

Description

Read in the primary Key values only from the database for this object. You must override ReadPK and implement a call to the visitor manager (if you are using hard coded visitors, or call inherited (if you are using automap)).

See also

TtiObject.ReadThis

  

Read this object, but no owned objects from the database

TtiObject.Read

  

Read this object, along with any owned objects from the database


Documentation generated on: 2017-08-16