FireDAC.DatS.TFDDatSRelation.Create
Delphi
constructor Create; override;
constructor Create(const ARelName: String; AParentColumn,
AChildColumn: TFDDatSColumn; ANested: Boolean = False;
ACreateConstraints: Boolean = True); overload;
constructor Create(const ARelName: String; const AParentColumns,
AChildColumns: array of TFDDatSColumn; ANested: Boolean = False;
ACreateConstraints: Boolean = True); overload;
constructor Create(const ARelName: String; const AParentColumnNames,
AChildColumnNames: String; AParentTable, AChildTable: TFDDatSTable;
ANested: Boolean = False;
ACreateConstraints: Boolean = True); overload;
constructor Create(const ARelName: String; APK: TFDDatSUniqueConstraint;
AFK: TFDDatSForeignKeyConstraint); overload;
C++
__fastcall virtual TFDDatSRelation()/* overload */;
__fastcall TFDDatSRelation(const System::UnicodeString ARelName, TFDDatSColumn* AParentColumn, TFDDatSColumn* AChildColumn, bool ANested, bool ACreateConstraints)/* overload */;
__fastcall TFDDatSRelation(const System::UnicodeString ARelName, TFDDatSColumn* const *AParentColumns, const System::NativeInt AParentColumns_High, TFDDatSColumn* const *AChildColumns, const System::NativeInt AChildColumns_High, bool ANested, bool ACreateConstraints)/* overload */;
__fastcall TFDDatSRelation(const System::UnicodeString ARelName, const System::UnicodeString AParentColumnNames, const System::UnicodeString AChildColumnNames, TFDDatSTable* AParentTable, TFDDatSTable* AChildTable, bool ANested, bool ACreateConstraints)/* overload */;
__fastcall TFDDatSRelation(const System::UnicodeString ARelName, TFDDatSUniqueConstraint* APK, TFDDatSForeignKeyConstraint* AFK)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FireDAC.DatS.pas FireDAC.DatS.hpp |
FireDAC.DatS | TFDDatSRelation |
Description
Constructs an object and initializes its data before the object is first used.
FireDAC.DatS.TFDDatSRelation.Create inherits from System.TObject.Create. All content below this line refers to System.TObject.Create.
Constructs an object and initializes its data before the object is first used.
Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by TObject allocates memory but does not initialize data.
Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.
Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.