Data.SqlExpr.TSQLStoredProc.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLStoredProc

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TSQLStoredProc(System::Classes::TComponent* AOwner)/* overload */;
/* TCustomSQLDataSet.Create */ inline __fastcall TSQLStoredProc(System::Classes::TComponent* AOwner, Data::Dbxcommon::TDBXReader* DBXReader, bool AOwnsInstance)/* overload */ : TCustomSQLDataSet(AOwner, DBXReader, AOwnsInstance) { }

Description

Creates an instance of a TSQLStoredProc component.

Call Create to instantiate an SQL stored procedure component at runtime. SQL stored procedures placed in forms or data modules at design time are created automatically.

AOwner is the component, typically a form or data module, that is responsible for freeing the TSQLStoredProc instance. It becomes the value of the Owner property.

See Also