Exemplo n.º 1
0
        public void GuardarRecetario(int codProducto, string codPuesto, int horas)
        {
            ConnectionDBDataContext db = new ConnectionDBDataContext();

            mrp_material_horas_hombre nHoras = new mrp_material_horas_hombre
            {
                cod_producto = codProducto,
                COD_PUESTO = codPuesto,
                cantidad_horas = horas,
            };

            db.GetTable<mrp_material_horas_hombre>().InsertOnSubmit(nHoras);
            db.SubmitChanges();
        }
Exemplo n.º 2
0
 partial void Deletemrp_material_horas_hombre(mrp_material_horas_hombre instance);
Exemplo n.º 3
0
 partial void Insertmrp_material_horas_hombre(mrp_material_horas_hombre instance);
Exemplo n.º 4
0
		private void detach_mrp_material_horas_hombres(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.scm_producto = null;
		}
Exemplo n.º 5
0
		private void detach_mrp_material_horas_hombres(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.HRM_PUESTO = null;
		}
Exemplo n.º 6
0
		private void detach_mrp_material_horas_hombres(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.mrp_catalogo_recurso = null;
		}
Exemplo n.º 7
0
		private void attach_mrp_material_horas_hombre(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.scm_producto = this;
		}
Exemplo n.º 8
0
		private void attach_mrp_material_horas_hombre(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.HRM_PUESTO = this;
		}