FireDAC.DatS.TFDDatSUniqueConstraint.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
FireDAC.DatS.pas
FireDAC.DatS.hpp
Unit: FireDAC.DatS
Parent: TFDDatSUniqueConstraint

Delphi

constructor Create; overload; override;
constructor Create(AColumn: TFDDatSColumn;
APrimaryKey: Boolean = False); overload;
constructor Create(const AColumns: array of TFDDatSColumn;
APrimaryKey: Boolean = False); overload;
constructor Create(const AName: String; AColumn: TFDDatSColumn;
APrimaryKey: Boolean = False); overload;
constructor Create(const AName: String; const AColumns: array of TFDDatSColumn;
APrimaryKey: Boolean = False); overload;
constructor Create(const AName, AColumnNames: String;
APrimaryKey: Boolean = False); overload;

C++

__fastcall virtual TFDDatSUniqueConstraint()/* overload */;
__fastcall TFDDatSUniqueConstraint(TFDDatSColumn* AColumn, bool APrimaryKey)/* overload */;
__fastcall TFDDatSUniqueConstraint(TFDDatSColumn* const *AColumns, const System::NativeInt AColumns_High, bool APrimaryKey)/* overload */;
__fastcall TFDDatSUniqueConstraint(const System::UnicodeString AName, TFDDatSColumn* AColumn, bool APrimaryKey)/* overload */;
__fastcall TFDDatSUniqueConstraint(const System::UnicodeString AName, TFDDatSColumn* const *AColumns, const System::NativeInt AColumns_High, bool APrimaryKey)/* overload */;
__fastcall TFDDatSUniqueConstraint(const System::UnicodeString AName, const System::UnicodeString AColumnNames, bool APrimaryKey)/* overload */;

Description




Constructs an object and initializes its data before the object is first used.

FireDAC.DatS.TFDDatSUniqueConstraint.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.

See Also