Sorry,
GetManager, Create Manager,
function TObjectDataLab.GetManager: TObjectManager;
var
ConnectionDB: IDBConnection;
begin
// Creo el objeto de las bases de datos
ConnectionDB := uConnectionModule.DatabaseConnection.AureliusConnection.CreateConnection;
Result := TObjectManager.Create(ConnectionDB);
end;
Do you mean that the Manager is destroyed when the method execution ends? and it is not necessary to destroy it?