public bool Create() { try { Modelo.NIVEL n = new NIVEL(); n.NOTA_ENCUESTA = this.nota_Encuesta; n.NOMBRE = this.Nombre; CommonBC.ModeloWfbs.NIVEL.Add(n); CommonBC.ModeloWfbs.SaveChanges(); return(true); } catch (Exception ex) { return(false); } }
public static NIVEL CreateNIVEL(long cODIGO_NIVEL, long nUMERO) { NIVEL nIVEL = new NIVEL(); nIVEL.CODIGO_NIVEL = cODIGO_NIVEL; nIVEL.NUMERO = nUMERO; return nIVEL; }
public void AddToNIVELES(NIVEL nIVEL) { base.AddObject("NIVELES", nIVEL); }