unit srvTiposVenta_Impl;

{----------------------------------------------------------------------------}
{ This unit was automatically generated by the RemObjects SDK after reading  }
{ the RODL file associated with this project .                               }
{                                                                            }
{ This is where you are supposed to code the implementation of your objects. }
{----------------------------------------------------------------------------}

{$I Remobjects.inc}

interface

uses
  {vcl:} Classes, SysUtils, 
  {RemObjects:} uROXMLIntf, uROClientIntf, uROTypes, uROServer, uROServerIntf, uROSessions,
  {Ancestor Implementation:} DataAbstractService_Impl,
  {Used RODLs:} DataAbstract4_Intf,
  {Generated:} FactuGES_Intf, uDADataStreamer, uDABin2DataStreamer, uDAClasses, uDAInterfaces;

type
  { TsrvTiposVenta }
  TsrvTiposVenta = class(TDataAbstractService, IsrvTiposVenta)
    Bin2DataStreamer: TDABin2DataStreamer;
    schTiposVenta: TDASchema;
    procedure DataAbstractServiceBeforeAcquireConnection(aSender: TObject; var aConnectionName: string);
    procedure DataAbstractServiceCreate(Sender: TObject);
  end;

implementation

{$R *.dfm}
uses
  {Generated:} FactuGES_Invk, Variants,
  uDataModuleServer, uROClasses;

procedure Create_srvTiposVenta(out anInstance : IUnknown);
begin
  anInstance := TsrvTiposVenta.Create(nil);
end;

{ srvTiposVenta }

procedure TsrvTiposVenta.DataAbstractServiceBeforeAcquireConnection(aSender: TObject; var aConnectionName: string);
begin
  ConnectionName := dmServer.ConnectionName;
end;

procedure TsrvTiposVenta.DataAbstractServiceCreate(Sender: TObject);
begin
  //SessionManager := dmServer.SessionManager;
end;


initialization
  TROClassFactory.Create('srvTiposVenta', Create_srvTiposVenta, TsrvTiposVenta_Invoker);

finalization

end.
