public bool Equals(PsaTrace another) { if (Vin.Equals(another.Vin, StringComparison.OrdinalIgnoreCase) && Date == another.Date) { return(true); } return(false); }
public override bool Equals(object obj) { PsaTrace trace = obj as PsaTrace; if (trace == null) { throw new ArgumentException("Should be the same object type to compare."); } return(Equals(trace)); }
public override void CopyTo(DomainObject target) { base.CopyTo(target); PsaTrace trace = target as PsaTrace; trace.Address = Address; trace.Application = Application; trace.VehicleModelName = VehicleModelName; trace.Mileage = Mileage; trace.Manufacturer = Manufacturer; trace.Date = Date; trace.Format = Format; trace.Phone = Phone; trace.PhoneChannel = PhoneChannel; trace.SavesetId = SavesetId; trace.ToolName = ToolName; trace.ToolSerialNumber = ToolSerialNumber; trace.Vin = Vin; trace.PsaDatasetId = PsaDatasetId; }