Ejemplo n.º 1
0
 /// <summary>
 /// Método desusado para agregar un nuevo objeto al EntitySet OpcionRols. Considere la posibilidad de usar el método .Add de la propiedad ObjectSet&lt;T&gt; asociada.
 /// </summary>
 public void AddToOpcionRols(OpcionRol opcionRol)
 {
     base.AddObject("OpcionRols", opcionRol);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Crear un nuevo objeto OpcionRol.
 /// </summary>
 /// <param name="id">Valor inicial de la propiedad Id.</param>
 public static OpcionRol CreateOpcionRol(global::System.Int32 id)
 {
     OpcionRol opcionRol = new OpcionRol();
     opcionRol.Id = id;
     return opcionRol;
 }