2007-11-28 17:40:31 +00:00
|
|
|
unit uIDataModuleEmpresas;
|
|
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
|
|
uses
|
2008-07-23 16:46:26 +00:00
|
|
|
SysUtils, Classes, uBizEmpresas, uBizEmpresasTiendas;
|
2007-11-28 17:40:31 +00:00
|
|
|
|
|
|
|
|
type
|
|
|
|
|
IDataModuleEmpresas = interface
|
|
|
|
|
['{681FD37D-8C67-47F1-8286-2B6EFE95CE7D}']
|
|
|
|
|
function GetItem(const ID : Integer) : IBizEmpresa;
|
|
|
|
|
function NewItem : IBizEmpresa;
|
|
|
|
|
function GetItems : IBizEmpresa;
|
2008-07-23 16:46:26 +00:00
|
|
|
|
|
|
|
|
function NewTienda : IBizEmpresaTienda;
|
|
|
|
|
function GetTienda(const ID : Integer) : IBizEmpresaTienda;
|
|
|
|
|
function GetTiendas : IBizEmpresaTienda;
|
|
|
|
|
|
|
|
|
|
function DarTiendaUsuario(const ID_EMPRESA: Integer; const ID_USUARIO: Integer): Integer;
|
2007-11-28 17:40:31 +00:00
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
|
|
end.
|