public static Author CreateAuthor(global::System.Int32 id, global::System.String name) { Author author = new Author(); author.Id = id; author.Name = name; return author; }