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