public void IngresaPedido_II(EntityConnectionStringBuilder connection, Pedidos_II pd) { var context = new samEntities(connection.ToString()); context.InsertPedidosDetalle_MDL(pd.BSTYP, pd.EBELN, pd.LIFNR, pd.NAME1, pd.BEDAT, pd.G_NAME, pd.EKORG, pd.EKOTX, pd.EKGRP, pd.EKNAM, pd.BUKRS, pd.BUTXT, pd.EBELP, pd.KNTTP, pd.PSTYP, pd.MATNR, pd.TXZ01, pd.MENGE, pd.MEINS, pd.EINDT, pd.WERKS, pd.LGORT, pd.CHARG, pd.AFNAM, pd.INFNR, pd.BANFN, pd.BNFPO, pd.KONNR, pd.MATKL, pd.IDNLF, pd.EAN11, pd.LICHA, pd.BSART, pd.BATXT, pd.G_POS, pd.PACKNO, pd.SUB_PACKNO, pd.BWART, pd.CANTIDADE, pd.KOSTL, pd.AUFNR, pd.SAKTO, pd.FRGGR, pd.FRGSX, pd.FRGKE, pd.FRGZU, "0", "", "0.000", pd.BEDNR, pd.FRGC1, pd.FRGCT, pd.LVORM); }
public void BorrarPedido_II(EntityConnectionStringBuilder connection, Pedidos_II ped2) { var context = new samEntities(connection.ToString()); context.DeletePedidosDetalle_MDL(ped2.EBELN, ped2.WERKS); }