/// <summary> /// Create a new Users object. /// </summary> /// <param name="iD_User">Initial value of the ID_User property.</param> /// <param name="nickName">Initial value of the NickName property.</param> /// <param name="iD_Thread">Initial value of the ID_Thread property.</param> /// <param name="age">Initial value of the Age property.</param> /// <param name="photo">Initial value of the Photo property.</param> /// <param name="country">Initial value of the Country property.</param> /// <param name="city">Initial value of the City property.</param> public static Users CreateUsers(global::System.String iD_User, global::System.String nickName, global::System.String iD_Thread, global::System.Int64 age, global::System.String photo, global::System.String country, global::System.String city) { Users users = new Users(); users.ID_User = iD_User; users.NickName = nickName; users.ID_Thread = iD_Thread; users.Age = age; users.Photo = photo; users.Country = country; users.City = city; return users; }
/// <summary> /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsers(Users users) { base.AddObject("Users", users); }