示例#1
0
        public static DataSet Primero(string tiposeg)
        {
            DSegmento Obj = new DSegmento
            {
                Dtiposeg = tiposeg,
            };

            return(Obj.Primero(Obj));
        }
示例#2
0
        public static DataSet Ultimo(string tiposeg)
        {
            DSegmento Obj = new DSegmento
            {
                Dtiposeg = tiposeg,
            };

            return(Obj.Ultimo(Obj));
        }
示例#3
0
        public static DataTable Mostrar(string tiposeg)
        {
            DSegmento Obj = new DSegmento
            {
                Dtiposeg = tiposeg,
            };

            return(Obj.Mostrar(Obj));
        }
示例#4
0
        public static DataSet Listar(string tiposeg)
        {
            DSegmento Obj = new DSegmento
            {
                Dtiposeg = tiposeg,
            };

            return(Obj.Listar(Obj));
        }
示例#5
0
        public static string Eliminar(string cod_segmento)
        {
            DSegmento Obj = new DSegmento
            {
                Dcod_segmento = cod_segmento,
            };

            return(Obj.Eliminar(Obj));
        }
示例#6
0
        public static DataSet Anterior(string cod_segmento, string tiposeg)
        {
            DSegmento Obj = new DSegmento()
            {
                Dcod_segmento = cod_segmento,
                Dtiposeg      = tiposeg
            };

            return(Obj.Anterior(Obj));
        }
示例#7
0
        public static string GenerarCod(string cod_segmento, string tiposeg)
        {
            DSegmento Obj = new DSegmento
            {
                Dcod_segmento = cod_segmento,
                Dtiposeg      = tiposeg
            };

            return(Obj.GenerarCod(Obj));
        }
示例#8
0
        public static DataSet Siguiente(string cod_segmento, string tiposeg)
        {
            DSegmento Obj = new DSegmento()
            {
                Dcod_segmento = cod_segmento,
                Dtiposeg      = tiposeg
            };

            return(Obj.Siguiente(Obj));
        }
示例#9
0
        public static DataTable Buscar(string buscar, string btipo, string tiposeg)
        {
            DSegmento Obj = new DSegmento()
            {
                Dbuscar  = buscar,
                Dbtipo   = btipo,
                Dtiposeg = tiposeg
            };

            return(Obj.Buscar(Obj));
        }
示例#10
0
        public static string Insertar(string cod_segmento, string desc_segmento, string tiposeg, string campo1, string campo2, string campo3, string campo4, string campo5, string campo6)
        {
            DSegmento Obj = new DSegmento
            {
                Dcod_segmento  = cod_segmento,
                Ddesc_segmento = desc_segmento,
                Dcampo1        = campo1,
                Dcampo2        = campo2,
                Dcampo3        = campo3,
                Dcampo4        = campo4,
                Dcampo5        = campo5,
                Dcampo6        = campo6,
            };

            return(Obj.Insertar(Obj));
        }