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