delphimvcframework/unittests/general/TestServer/DataModuleMainU.pas
2017-03-30 16:34:34 +02:00

53 lines
832 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.