// makes identival copy of Customer public BookingHistory Clone() { BookingHistory copy = new BookingHistory(); copy.BookingId = this.BookingId; copy.BookingDate = this.BookingDate; copy.BookingNo = this.BookingNo; copy.TravelerCount = this.TravelerCount; copy.CustomerId = this.CustomerId; copy.TripTypeId = this.TripTypeId; copy.PackageId = this.PackageId; copy.PkgName = this.PkgName; copy.PkgStartDate = this.PkgStartDate; copy.PkgEndDate = this.PkgEndDate; copy.PkgDesc = this.PkgDesc; copy.PkgBasePrice = this.PkgBasePrice; copy.PkgImg = this.PkgImg; return(copy); }