API:FireDAC.Phys.MongoDBWrapper.TMongoDocument.Create
Delphi
constructor Create(AEnv: TMongoEnv; AOwningObj, AParentObj: TObject); overload;
constructor Create(AEnv: TMongoEnv); overload;
C++
__fastcall TMongoDocument(TMongoEnv* AEnv, System::TObject* AOwningObj, System::TObject* AParentObj)/* overload */;
__fastcall TMongoDocument(TMongoEnv* AEnv)/* overload */;
/* TMongoObject.Create */ inline __fastcall TMongoDocument(TMongoEnv* AEnv, System::TObject* AOwningObj)/* overload */ : TMongoObject(AEnv, AOwningObj) { }
/* TMongoObject.Create */ inline __fastcall TMongoDocument(TMongoEnv* AEnv, System::TObject* AOwningObj, Firedac::Phys::Mongodbcli::Pmongoc_handle_t AHandle)/* overload */ : TMongoObject(AEnv, AOwningObj, AHandle) { }
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| constructor | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoDocument |
Description
Creates a new object and assigns references to environment and owning objects. FireDAC.Phys.MongoDBWrapper.TMongoDocument.Create inherits from FireDAC.Phys.MongoDBWrapper.TMongoObject.Create. All content below this line refers to FireDAC.Phys.MongoDBWrapper.TMongoObject.Create.
Creates a new object and assigns references to environment and owning objects.
The TMongoObject.Create method is overloaded:
- The first overloaded method creates a new object and assigns references to the environment and owning objects.
- The second overloaded method creates a new object, assigns references to the environment and owning objects, and sets the MongoDB API handle to be owned by this object.