/// <summary> /// Create a new Person object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="last_name">Initial value of the last_name property.</param> /// <param name="first_name">Initial value of the first_name property.</param> /// <param name="username">Initial value of the username property.</param> /// <param name="password">Initial value of the password property.</param> public static Person CreatePerson(global::System.Int32 id, global::System.String last_name, global::System.String first_name, global::System.String username, global::System.String password) { Person person = new Person(); person.id = id; person.last_name = last_name; person.first_name = first_name; person.username = username; person.password = password; return person; }
/// <summary> /// Deprecated Method for adding a new object to the Persons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPersons(Person person) { base.AddObject("Persons", person); }