Beispiel #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();
        }
Beispiel #2
0
 partial void Deletemrp_material_horas_hombre(mrp_material_horas_hombre instance);
Beispiel #3
0
 partial void Insertmrp_material_horas_hombre(mrp_material_horas_hombre instance);
Beispiel #4
0
		private void detach_mrp_material_horas_hombres(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.scm_producto = null;
		}
Beispiel #5
0
		private void detach_mrp_material_horas_hombres(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.HRM_PUESTO = null;
		}
Beispiel #6
0
		private void detach_mrp_material_horas_hombres(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.mrp_catalogo_recurso = null;
		}
Beispiel #7
0
		private void attach_mrp_material_horas_hombre(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.scm_producto = this;
		}
Beispiel #8
0
		private void attach_mrp_material_horas_hombre(mrp_material_horas_hombre entity)
		{
			this.SendPropertyChanging();
			entity.HRM_PUESTO = this;
		}