/// <summary>
 /// Deprecated Method for adding a new object to the UserIdentities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserIdentities(UserIdentity userIdentity)
 {
     base.AddObject("UserIdentities", userIdentity);
 }
 /// <summary>
 /// Create a new UserIdentity object.
 /// </summary>
 /// <param name="identityID">Initial value of the IdentityID property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="identityProvider">Initial value of the IdentityProvider property.</param>
 /// <param name="identityValue">Initial value of the IdentityValue property.</param>
 public static UserIdentity CreateUserIdentity(global::System.Int32 identityID, global::System.Guid userId, global::System.String identityProvider, global::System.String identityValue)
 {
     UserIdentity userIdentity = new UserIdentity();
     userIdentity.IdentityID = identityID;
     userIdentity.UserId = userId;
     userIdentity.IdentityProvider = identityProvider;
     userIdentity.IdentityValue = identityValue;
     return userIdentity;
 }