Unit 'fpcgtypesafedataset' Package
[Overview][Constants][Types][Classes][Index] [#fcl-db]

TDDTypeSafeDatasetCodeGenerator

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

Declaration

Source position: fpcgtypesafedataset.pp line 98

type TDDTypeSafeDatasetCodeGenerator = class(TDDBaseFieldMapCodeGenerator)

protected

  function GetSQL; override;

  procedure SetSQL(); override;

  procedure CreateApplyUpdatesImplementation(); virtual;

  procedure CreateGetQueryImplementation(); virtual;

  procedure CreateCreateQueryImplementation(); virtual;

  procedure CreateSQLConst(); virtual;

  function CreateQueryDeclaration(); virtual;

  function GetQueryDeclaration(); virtual;

  function NeedConstSection; virtual;

  procedure WriteConstSection(); virtual;

  function MyMapExpr;

  function GetClassInterfaces; override;

  function GetInterfaceUsesClause; override;

  procedure CreateTypeSafeInterfaceDeclaration(); virtual;

  function GetFieldAccessor();

  procedure GenerateFieldMapClass(); virtual;

  procedure GenerateMyMap(); virtual;

  procedure WriteBlobChangeEvent(); virtual;

  procedure WritePropertyIsNullGetter(); virtual;

  procedure WritePropertyIsNullSetter(); virtual;

  function NeedsConstructor; override;

  function NeedsDestructor; override;

  procedure WritePropertyDeclaration(); override;

  procedure WriteVisibilityStart(); override;

  procedure WriteVisibilityEnd(); override;

  procedure WriteFieldCreate(); override;

  procedure WriteFieldDestroy(); override;

  function CreateFieldPropDefs; override;

  function CreateOptions; override;

  procedure WritePropertyGetterImpl(); override;

  procedure WritePropertySetterImpl(); override;

  procedure WritePrivateFields(); override;

  procedure DoBeforeTypeSection(); override;

  procedure DoBeforeClassDeclaration(); override;

  procedure DoAfterClassImplementation(); override;

  procedure DoBeforeClassImplementation(); override;

  procedure DoAfterDestructor(); override;

  property TSAFieldPropDefs []: TTSAFieldPropDef; [r]

public

  constructor Create(); override;

  destructor Destroy; override;

  class function NeedsSQL; override;

  class function NeedsFieldDefs; override;

  property SafeOpts: TGenTypeSafeDatasetOptions; [r]

end;

Inheritance

TDDTypeSafeDatasetCodeGenerator

|

TDDBaseFieldMapCodeGenerator

|

TDDClassCodeGenerator

|

TDDCustomCodeGenerator

|

TObject


Documentation generated on: 2023-03-18