AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Datenbanken TFDCommand Verständnis von Klassen

TFDCommand Verständnis von Klassen

Ein Thema von bernhard_LA · begonnen am 25. Sep 2021 · letzter Beitrag vom 25. Sep 2021
Antwort Antwort
bernhard_LA

Registriert seit: 8. Jun 2009
Ort: Bayern
1.120 Beiträge
 
Delphi 11 Alexandria
 
#1

TFDCommand Verständnis von Klassen

  Alt 25. Sep 2021, 09:17
Datenbank: MSSQL • Version: 12 • Zugriff über: Firedac
wenn eine Klasse nur aus einer Liste von Properties besteht, was bedeutet dies eigentlich ?
Welche Funktion hat diese Code Zeile  [ComponentPlatformsAttribute(pidAllPlatforms)]


Delphi-Quellcode:

[ComponentPlatformsAttribute(pidAllPlatforms)]
  TFDCommand = class(TFDCustomCommand)
  published
    property ConnectionName;
    property Connection;
    property Transaction;
    property CatalogName;
    property SchemaName;
    property BaseObjectName;
    property Overload;
    property Params;
    property Macros;
    property FetchOptions;
    property FormatOptions;
    property ResourceOptions;
    property UpdateOptions;
    property CommandKind;
    property CommandText;
    property ActiveStoredUsage;
    property Active;
    property BeforeClose;
    property BeforeOpen;
    property AfterClose;
    property AfterOpen;
    property BeforeUnprepare;
    property BeforePrepare;
    property AfterUnprepare;
    property AfterPrepare;
    property BeforeExecute;
    property AfterExecute;
    property OnError;
    property OnCommandChanged;
  end;
  Mit Zitat antworten Zitat
Benutzerbild von stahli
stahli

Registriert seit: 26. Nov 2003
Ort: Halle/Saale
4.336 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: TFDCommand Verständnis von Klassen

  Alt 25. Sep 2021, 09:27
Die Properties werden geerbt aus der Elternklasse und sichtbarer gemacht.
Vorher waren sie z.B. nur public und jetzt werden sie published.
Stahli
http://www.StahliSoft.de
---
"Jetzt muss ich seh´n, dass ich kein Denkfehler mach...!?" Dittsche (2004)
  Mit Zitat antworten Zitat
bernhard_LA

Registriert seit: 8. Jun 2009
Ort: Bayern
1.120 Beiträge
 
Delphi 11 Alexandria
 
#3

AW: TFDCommand Verständnis von Klassen

  Alt 25. Sep 2021, 10:13
Danke , habe dann noch hier weitergelesen https://www.delphipraxis.net/174950-...zu-public.html
  Mit Zitat antworten Zitat
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:42 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz