Пример #1
0
 internal static IQueryable <CuentaIFRSTipo> GetCuentaIFRSTipos(CuentaIFRSTipoInforme tipoInforme)
 {
     return
         (from cuentaIFRSTipo in GetCuentaIFRSTipos()
          where cuentaIFRSTipo.CuentaIFRSTipoInforme == tipoInforme
          select cuentaIFRSTipo);
 }
 public static List <CuentaIFRSTipo> GetAll(CuentaIFRSTipoInforme tipoInforme)
 {
     return
         ((
              from query in Query.GetCuentaIFRSTipos(tipoInforme)
              orderby query.Codigo
              select query
              ).ToList <CuentaIFRSTipo>());
 }
Пример #3
0
 public static List <CuentaIFRS> GetAll(CuentaIFRSTipoInforme tipoInforme, Empresa empresa, Ano anio)
 {
     return
         ((
              from query in Query.GetCuentaIFRSes(empresa, anio, tipoInforme)
              orderby query.CodigoCuenta
              select query
              ).ToList <CuentaIFRS>());
 }
Пример #4
0
 internal static IQueryable <CuentaIFRS> GetCuentaIFRSes(CuentaIFRSClasificacion clasificacion, CuentaIFRSTipoInforme tipoInforme)
 {
     return
         (from cuentaIFRS in GetCuentaIFRSes()
          where cuentaIFRS.CuentaIFRSClasificacion == clasificacion && cuentaIFRS.CuentaIFRSTipoInforme == tipoInforme
          select cuentaIFRS);
 }
Пример #5
0
 internal static IQueryable <CuentaIFRS> GetCuentaIFRSes(Empresa empresa, Ano anio, CuentaIFRSTipoInforme tipoInforme)
 {
     return
         (from cuenta in GetCuentaIFRSes(empresa, anio)
          where cuenta.CuentaIFRSTipoInforme == tipoInforme
          select cuenta);
 }
Пример #6
0
 public static List <CuentaIFRS> GetAll(CuentaIFRSClasificacion clasificacion, CuentaIFRSTipoInforme tipoInforme, Ano ano)
 {
     return
         ((
              from query in Query.GetCuentaIFRSes(clasificacion, tipoInforme)
              where query.Ano == ano
              orderby query.Codigo
              select query
              ).ToList <CuentaIFRS>());
 }
Пример #7
0
 public static CuentaIFRS Get(CuentaIFRSTipoInforme tipoInforme, Empresa empresa, Ano anio, string nombre)
 {
     return(Query.GetCuentaIFRSes(empresa, anio, tipoInforme).SingleOrDefault <CuentaIFRS>(x => x.Descripcion == nombre));
 }