/// <summary>
 /// Deprecated Method for adding a new object to the UserTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserTypes(UserType userType)
 {
     base.AddObject("UserTypes", userType);
 }
 /// <summary>
 /// Create a new UserType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static UserType CreateUserType(global::System.Int32 id, global::System.String name)
 {
     UserType userType = new UserType();
     userType.Id = id;
     userType.Name = name;
     return userType;
 }