public static Book CreateBook(global::System.Int32 id, global::System.String name, global::System.Int32 pages) { Book book = new Book(); book.Id = id; book.Name = name; book.Pages = pages; return book; }