/// <summary>
 /// Deprecated Method for adding a new object to the UserInRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserInRoles(UserInRole userInRole)
 {
     base.AddObject("UserInRoles", userInRole);
 }
 /// <summary>
 /// Create a new UserInRole object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 public static UserInRole CreateUserInRole(global::System.Int32 id, global::System.String username, global::System.Int32 roleId)
 {
     UserInRole userInRole = new UserInRole();
     userInRole.Id = id;
     userInRole.Username = username;
     userInRole.RoleId = roleId;
     return userInRole;
 }