public void IngresaBom(EntityConnectionStringBuilder connection, BomEquipo be) { var context = new samEntities(connection.ToString()); context.bom_equipos_MDL(be.MANDT, be.EQUNR, be.WERKS, be.STLAN, be.STLTY, be.STLNR, be.STLAL, be.STKOZ, be.STLKN, be.STPOZ, be.STASZ, be.DATUV, be.LKENZ, be.LOEKZ, be.ANDAT, be.ANNAM, be.IDNRK, be.PSWRK, be.POSTP, be.SPOSN, be.SORTP, be.KMPME, be.KMPMG, be.FMENG); }
public void VaciarBom(EntityConnectionStringBuilder connection, BomEquipo be) { var context = new samEntities(connection.ToString()); context.TRUNCATE_bom_equipos_MDL(be.EQUNR, be.STLNR, be.WERKS); }