/// <summary> /// Deprecated Method for adding a new object to the RolesActions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRolesActions(RolesAction rolesAction) { base.AddObject("RolesActions", rolesAction); }
/// <summary> /// Create a new RolesAction object. /// </summary> /// <param name="roleActionId">Initial value of the RoleActionId property.</param> /// <param name="roleId">Initial value of the RoleId property.</param> /// <param name="actionId">Initial value of the ActionId property.</param> public static RolesAction CreateRolesAction(global::System.Int32 roleActionId, global::System.Int32 roleId, global::System.Int32 actionId) { RolesAction rolesAction = new RolesAction(); rolesAction.RoleActionId = roleActionId; rolesAction.RoleId = roleId; rolesAction.ActionId = actionId; return rolesAction; }