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