partial void Deletemrp_material_producto_enc(mrp_material_producto_enc instance);
		private void detach_mrp_material_producto_encs(mrp_material_producto_enc entity)
		{
			this.SendPropertyChanging();
			entity.mrp_usuario = null;
		}
 partial void Insertmrp_material_producto_enc(mrp_material_producto_enc instance);
		private void attach_mrp_material_producto_encs(mrp_material_producto_enc entity)
		{
			this.SendPropertyChanging();
			entity.scm_producto = this;
		}
		private void detach_mrp_material_producto_encs(mrp_material_producto_enc entity)
		{
			this.SendPropertyChanging();
			entity.mrp_catalogo_estado = null;
		}
		private void attach_mrp_material_producto_enc(mrp_material_producto_enc entity)
		{
			this.SendPropertyChanging();
			entity.mrp_usuarios = this;
		}
		private void attach_mrp_material_producto_enc(mrp_material_producto_enc entity)
		{
			this.SendPropertyChanging();
			entity.mrp_catalogo_estados = this;
		}
Exemple #8
0
        internal int Guardar_info(int estado, string desc, int usuario, int product)
        {
            mrp_material_producto_enc tP = new mrp_material_producto_enc();

            tP.Descripcion = desc;
            tP.id_estado = estado;
            tP.id_usuario = usuario;
            tP.cod_producto = product;

            dcConn.GetTable<mrp_material_producto_enc>().InsertOnSubmit(tP);
            dcConn.SubmitChanges();

            return tP.id_material_producto;
        }