public SalesReasonData(SalesReasonData data) { Name = data.Name; ReasonType = data.ReasonType; ModifiedDate = data.ModifiedDate; Uid = data.Uid; }
protected override void LazySet() { base.LazySet(); if (PersistenceState == PersistenceState.NewAndChanged || PersistenceState == PersistenceState.LoadedAndChanged) { if ((object)InnerData == (object)OriginalData) { OriginalData = new SalesReasonData(InnerData); } } }