Ejemplo n.º 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();
        }
Ejemplo n.º 2
0
 partial void DeleteHRM_PUESTO(HRM_PUESTO instance);
Ejemplo n.º 3
0
 partial void UpdateHRM_PUESTO(HRM_PUESTO instance);
Ejemplo n.º 4
0
 partial void InsertHRM_PUESTO(HRM_PUESTO instance);
Ejemplo n.º 5
0
		private void detach_HRM_PUESTOs(HRM_PUESTO entity)
		{
			this.SendPropertyChanging();
			entity.HRM_TIPO_PLAZA = null;
		}
Ejemplo n.º 6
0
		private void attach_HRM_PUESTO(HRM_PUESTO entity)
		{
			this.SendPropertyChanging();
			entity.HRM_TIPO_PLAZA = this;
		}