/// <summary> /// Deprecated Method for adding a new object to the Rol EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRol(Rol rol) { base.AddObject("Rol", rol); }
/// <summary> /// Create a new Rol object. /// </summary> /// <param name="rolId">Initial value of the RolId property.</param> /// <param name="aplicacionId">Initial value of the AplicacionId property.</param> /// <param name="nombre">Initial value of the Nombre property.</param> public static Rol CreateRol(global::System.Int32 rolId, global::System.Int32 aplicacionId, global::System.String nombre) { Rol rol = new Rol(); rol.RolId = rolId; rol.AplicacionId = aplicacionId; rol.Nombre = nombre; return rol; }