2 using System.Collections.Generic;
11 internal class GetFormsnetTablaCommand : Command
13 DataTable dtMante = null;
16 public GetFormsnetTablaCommand(IAddonsManager addons,
string pantalla) : base(addons)
22 protected override void CommandModulo(
IModulo modulo, params
object[] parameters)
24 if (DB._SQLExisteTablaBBDD(modulo.
_NombreConexion,
"FORMSNET") && dtMante == null)
27 Func<string, string, DataTable> _GetFormsnetTablaAddons = parameters[0] as Func<string, string, DataTable>;
28 DataTable loDt = _GetFormsnetTablaAddons(Pantalla, lcAliasDb);
29 dtMante = loDt is DataTable && loDt.Rows.Count > 0 ? loDt : null;
33 protected override object Return(params
object[] parameters)
38 protected override ExpectedParameters GetExpectedParameters()
40 return new ExpectedParameters(
new Type[] { typeof(Func<string, string, DataTable>) });
43 protected override bool Exit()
45 return dtMante != null;
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