delphimvcframework/unittests/TestServer/DataModuleMainU.pas
daniele.teti ae48251653 UnitTests
2013-10-30 00:09:09 +00:00

53 lines
884 B
ObjectPascal

unit DataModuleMainU;
interface
uses
System.SysUtils,
System.Classes,
{
uADStanIntf,
uADStanOption,
uADStanParam,
uADStanError,
uADDatSManager,
uADPhysIntf,
uADDAptIntf,
uADCompDataSet,
uADCompClient}
Data.DB;
type
TDataModuleMain = class(TDataModule)
private
{ Private declarations }
public
function GetMemTable: TDataSet;
end;
var
DataModuleMain: TDataModuleMain;
implementation
uses
ioutils;
{ %CLASSGROUP 'Vcl.Controls.TControl' }
{$R *.dfm}
function TDataModuleMain.GetMemTable: TDataSet;
begin
// FMemTable := TFDMemTable.Create(Self);
// MemTable.FileName := TPath.Combine(ExtractFilePath(GetModuleName(HInstance)), 'testdata.xml');
// if tfile.Exists(MemTable.FileName) then
// MemTable.LoadFromFile
// else
// MemTable.Open;
end;
end.