/// <summary> /// Deprecated Method for adding a new object to the RolSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRolSet(Rol rol) { base.AddObject("RolSet", rol); }
/// <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; }