//---------------------------------------------------------------------------

#ifndef udmFireDACInsertDataH
#define udmFireDACInsertDataH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Data.DB.hpp>
#include <Data.SqlExpr.hpp>
#include <Data.FMTBcd.hpp>
#include <Data.DBXInterBase.hpp>
#include <Datasnap.DBClient.hpp>
#include <Datasnap.Provider.hpp>
#include <FireDAC.Comp.Client.hpp>
#include <FireDAC.Comp.DataSet.hpp>
#include <FireDAC.DApt.hpp>
#include <FireDAC.DApt.Intf.hpp>
#include <FireDAC.DatS.hpp>
#include <FireDAC.Phys.hpp>
#include <FireDAC.Phys.Intf.hpp>
#include <FireDAC.Stan.Async.hpp>
#include <FireDAC.Stan.Def.hpp>
#include <FireDAC.Stan.Error.hpp>
#include <FireDAC.Stan.Intf.hpp>
#include <FireDAC.Stan.Option.hpp>
#include <FireDAC.Stan.Param.hpp>
#include <FireDAC.Stan.Pool.hpp>
#include <FireDAC.UI.Intf.hpp>
#include <FireDAC.Phys.IB.hpp>
#include <FireDAC.Phys.IBBase.hpp>
//---------------------------------------------------------------------------
class TDataModule1 : public TDataModule
{
__published:	// IDE-managed Components
	TFDConnection *FDConnection1;
	TFDQuery *FDQuery1;
	TFDQuery *fdqryInsertData;
	TFDQuery *qryTestData;
	TFDPhysIBDriverLink *FDPhysIBDriverLink1;
	void __fastcall DataModuleCreate(TObject *Sender);
private:	// User declarations
	String GetRandomName();
	String GetRandomPhone();
	String GetRandomDateTime(const TDateTime dt);
	String GetRandomDivision();

public:		// User declarations
	__fastcall TDataModule1(TComponent* Owner);
	void InsertDataWithQuery(const int iRecord);
	void InsertDataWithDML(const int iRecord);
};
//---------------------------------------------------------------------------
extern PACKAGE TDataModule1 *DataModule1;
//---------------------------------------------------------------------------
#endif
