/// <summary> /// Create a new Nivele object. /// </summary> /// <param name="codigoNivel">Initial value of the CodigoNivel property.</param> /// <param name="nombreNivel">Initial value of the NombreNivel property.</param> /// <param name="activo">Initial value of the Activo property.</param> public static Nivele CreateNivele(global::System.Int32 codigoNivel, global::System.String nombreNivel, global::System.String activo) { Nivele nivele = new Nivele(); nivele.CodigoNivel = codigoNivel; nivele.NombreNivel = nombreNivel; nivele.Activo = activo; return nivele; }
/// <summary> /// Deprecated Method for adding a new object to the Niveles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNiveles(Nivele nivele) { base.AddObject("Niveles", nivele); }