Example #1
0
        public void GuardarRecurso(string codPuesto, string descripcion, int salMinimo,
             int salMaximo, int idTipo)
        {
            ConnectionDBDataContext db = new ConnectionDBDataContext();

            HRM_PUESTO nPuesto = new HRM_PUESTO
            {
                COD_PUESTO = codPuesto,
                DES = descripcion,
                SALARIO_MINIMO = salMinimo,
                SALARIO_MAXIMO = salMaximo,

                ID_TIPO = idTipo,
            };

            db.GetTable<HRM_PUESTO>().InsertOnSubmit(nPuesto);
            db.SubmitChanges();
        }
Example #2
0
 partial void DeleteHRM_PUESTO(HRM_PUESTO instance);
Example #3
0
 partial void UpdateHRM_PUESTO(HRM_PUESTO instance);
Example #4
0
 partial void InsertHRM_PUESTO(HRM_PUESTO instance);
Example #5
0
		private void detach_HRM_PUESTOs(HRM_PUESTO entity)
		{
			this.SendPropertyChanging();
			entity.HRM_TIPO_PLAZA = null;
		}
Example #6
0
		private void attach_HRM_PUESTO(HRM_PUESTO entity)
		{
			this.SendPropertyChanging();
			entity.HRM_TIPO_PLAZA = this;
		}