/// <summary> /// Deprecated Method for adding a new object to the TblUsersInRoles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTblUsersInRoles(TblUsersInRole tblUsersInRole) { base.AddObject("TblUsersInRoles", tblUsersInRole); }
/// <summary> /// Create a new TblUsersInRole object. /// </summary> /// <param name="userRoleId">Initial value of the UserRoleId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="roleId">Initial value of the RoleId property.</param> public static TblUsersInRole CreateTblUsersInRole(global::System.Int32 userRoleId, global::System.Int32 userId, global::System.Int32 roleId) { TblUsersInRole tblUsersInRole = new TblUsersInRole(); tblUsersInRole.UserRoleId = userRoleId; tblUsersInRole.UserId = userId; tblUsersInRole.RoleId = roleId; return tblUsersInRole; }