Paul

> And stored procedures as normal standard methods.  I agree.
>
> > Updating via stored procs (without triggers) is then
> > analagous to writing delphi progs only using RTTI

I withdraw the RTTI Comment - I was being too flippant

The analogy of SP as methods is quite valid if you abstract out a
'container' object
which may encompass several entity sets

I woder if there is a syntax for this

TsqlObject = class (TsqlPersistentObject)
private
  MainEntTable: TsqlTable
  DetailEntTable: TsqlTable relatedby MainEntTable.PK = DetailEntTable.FK
public
   attribute: string read MainEntTable.Column
published
   procedure StoredProc1 // this .....
end

Neven

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to