예제 #1
0
 /// <summary>
 /// Create a new NivelUsuario object.
 /// </summary>
 /// <param name="idNivel">Initial value of the idNivel property.</param>
 /// <param name="nombreNivel">Initial value of the NombreNivel property.</param>
 /// <param name="pesoNivel">Initial value of the PesoNivel property.</param>
 public static NivelUsuario CreateNivelUsuario(global::System.Int32 idNivel, global::System.String nombreNivel, global::System.Int32 pesoNivel)
 {
     NivelUsuario nivelUsuario = new NivelUsuario();
     nivelUsuario.idNivel = idNivel;
     nivelUsuario.NombreNivel = nombreNivel;
     nivelUsuario.PesoNivel = pesoNivel;
     return nivelUsuario;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the NivelUsuarios EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNivelUsuarios(NivelUsuario nivelUsuario)
 {
     base.AddObject("NivelUsuarios", nivelUsuario);
 }