Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RolSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRolSet(Rol rol)
 {
     base.AddObject("RolSet", rol);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Rol object.
 /// </summary>
 /// <param name="idRol">Initial value of the IdRol property.</param>
 /// <param name="descripcionRol">Initial value of the DescripcionRol property.</param>
 public static Rol CreateRol(global::System.Int32 idRol, global::System.String descripcionRol)
 {
     Rol rol = new Rol();
     rol.IdRol = idRol;
     rol.DescripcionRol = descripcionRol;
     return rol;
 }