Beispiel #1
0
        public void IngresarMaterialesQM(EntityConnectionStringBuilder connection, MaterialesQM mq)
        {
            var context = new samEntities(connection.ToString());

            context.materiales_planes_inspeccion_MDL(mq.MATNR,
                                                     mq.WERKS,
                                                     mq.PLNTY,
                                                     mq.PLNNR,
                                                     mq.PLNAL,
                                                     mq.ZKRIZ,
                                                     mq.ZAEHL,
                                                     mq.SPRAS,
                                                     mq.MAKTX,
                                                     mq.LOEKZ,
                                                     mq.VERWE,
                                                     mq.STATU);
        }
Beispiel #2
0
        public void VaciarTablaMaterialesQM(EntityConnectionStringBuilder connection, MaterialesQM mq)
        {
            var context = new samEntities(connection.ToString());

            context.DELETE_materiales_planes_inspeccion_MDL(mq.MATNR,
                                                            mq.WERKS);
        }