public override void Place(Member m, Product p, SqlTransaction trans = null) { Remark = MatchGuid.ToString(); Size = TravelDate.ToString("yyyy-MM-dd"); //Product product = Product.Cache.ProductList.Find(p => // p.ProductType.Equals(ProductType.MatchTicket)); base.Place(m, p, trans); }
} //in kilometers public override string ToString() { return(string.Format("[ Travel: ID={0}, CarLicensePlate={1}, TravelDate={2}, StartPoint={3}, Destination={4}, Distance={5} ]", ID, CarLicensePlate, TravelDate.ToString(), StartPoint, Destination, Distance)); }