i'm trying simple query tolist()
return wcf service service returning error.
this have ordered first use last use:
[operationcontract] list<alertas> leeralerta(); public list<alertas> leeralerta() { return _pr.leeralerta(); }
public list<alertas> leeralerta() { return _db.leeralerta(); }
internal list<alertas> leeralerta() { using (var db = new alertas2015()) { var alertas = db.alertas.tolist(); return alertas; } }
and object alertas
:
public partial class alertas { public int id { get; set; } public int modulos_id { get; set; } public string proceso { get; set; } public string metodo { get; set; } public string descripcion { get; set; } public int estado { get; set; } public string receptor { get; set; } public system.datetime fecha { get; set; } public system.datetime fecha_aceptada { get; set; } public virtual modulos modulos { get; set; } }
the error i'm having when reading wcf service errorcode 10054 wcfstorm saying host has been closed.
what doing wrong?
Comments
Post a Comment