/// <summary>
        /// Create a new UserAge object.
        /// </summary>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="firstName">Initial value of the FirstName property.</param>
        /// <param name="lastName">Initial value of the LastName property.</param>
        /// <param name="dateOfBirth">Initial value of the DateOfBirth property.</param>
        public static UserAge CreateUserAge(global::System.Int64 userId, global::System.String firstName, global::System.String lastName, global::System.DateTime dateOfBirth)
        {
            UserAge userAge = new UserAge();

            userAge.UserId      = userId;
            userAge.FirstName   = firstName;
            userAge.LastName    = lastName;
            userAge.DateOfBirth = dateOfBirth;
            return(userAge);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the UserAges EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserAges(UserAge userAge)
 {
     base.AddObject("UserAges", userAge);
 }