Beispiel #1
0
        public int GetId()
        {
            Coleccion col = new Coleccion();
            decimal   aux;

            try
            {
                aux = col.ListadoDetalleOrden().Max(em => em.ID_DETALLE_ORDEN);
            }
            catch (Exception)
            {
                aux = 0;
            }

            return((int)aux);
        }
Beispiel #2
0
        public int getLastId()
        {
            Coleccion col = new Coleccion();
            decimal   aux;

            try
            {
                aux = col.ListadoDetalleStock().Max(em => em.ID_DETALLE_STOCK);
            }
            catch (Exception)
            {
                aux = 0;
            }

            return((int)aux);
        }
Beispiel #3
0
        public int getLastId()
        {
            Coleccion col = new Coleccion();
            decimal   aux;

            try
            {
                aux = col.ListadoOrden().Max(em => em.ID_ORDEN);
            }
            catch (Exception)
            {
                aux = 0;
            }

            return((int)aux);
        }