Exemplo n.º 1
0
        public void IngresarOrdenesPlanificacion(EntityConnectionStringBuilder connection, OrdenesPlanificacion opa)
        {
            var context = new samEntities(connection.ToString());

            context.INSERT_ordenes_planificacion_MDL(opa.AUFNR,
                                                     opa.FOLIO_SAM,
                                                     opa.WARPL,
                                                     opa.WAPOS,
                                                     opa.PLNTY,
                                                     opa.PLNNR,
                                                     opa.PLNAL);
        }
Exemplo n.º 2
0
        public void VaciarOrdenesPlanificacion(EntityConnectionStringBuilder connection, OrdenesPlanificacion opa)
        {
            var context = new samEntities(connection.ToString());

            context.DELETE_ordenes_planificacion_MDL(opa.AUFNR);
        }