I made this class:
public class ConexaoParametrosTFV
{
public ConexaoParametrosTFV()
{
if ((SessaoUtil.Recuperar("ConexaoTFV") == null))
{
AgaxturCmsEntities db = new AgaxturCmsEntities();
var resultado = (from a in db.TbClientes
where a.CdCliente == 1 && a.Ativo == "S"
select new {
a.CultureTripoint,
a.LoginTripoint,
a.SenhaTripoint,
a.SalesChannelTripoint,
a.DepartmentIdTripoint,
a.EntityIdTripoint }).First();
SessaoUtil.SalvarSession("ConexaoTFV", "resultado");
}
}
}
I need now in another class, get everything I have loaded in the session and unload in six variables. How do I do this?