public void Save(BatchRecordDetail det) { if (det.ID.HasValue) { det.ModifiedDate = DateTime.Now; } else { det.CreatedDate = DateTime.Now; } if (!det.DOB.HasValue) { det.DOB = new DateTime(1900, 01, 01); } m_db.Save(det); }
public void Save(BatchRecordDetail det) { m_db.Save(det); }