2 using System.Collections.Generic;
10 internal class LoadListadoDBCommand : Command
13 public LoadListadoDBCommand(IAddonsManager addons) : base(addons)
15 Name =
"LoadListadoDB";
18 protected override void CommandModulo(
IModulo modulo, params
object[] parameters)
20 Func<string, string, string, object[], bool> _LoadListadoDb = parameters[0] as Func<string, string, string, object[], bool>;
21 string tcFormularioFox = parameters[1].ToString();
22 string lcFiltro = parameters[2].ToString();
23 object[] toParametros = parameters[3] as
object[];
26 if (_LoadListadoDb(tcFormularioFox, lcFiltro, modulo.
_AliasDB, toParametros))
33 protected override ExpectedParameters GetExpectedParameters()
35 return new ExpectedParameters(
new Type[] {
36 typeof(Func<
string,
string,
string,
object[],
bool>),
42 protected override object Return(params
object[] parameters)
46 protected override bool Condition(KeyValuePair<string, object> addon)
48 return base.Condition(addon) && ret == 0;
50 protected override bool Exit()
PE-93426 Interficie para los módulos de la aplicación
string _NombreConexion
Nombre real de la base de datos
string _AliasDB
Alias de la Base de datos