Ejemplo n.º 1
0
 protected override void LazySet()
 {
     base.LazySet();
     if (PersistenceState == PersistenceState.NewAndChanged || PersistenceState == PersistenceState.LoadedAndChanged)
     {
         if ((object)InnerData == (object)OriginalData)
         {
             OriginalData = new BillOfMaterialsData(InnerData);
         }
     }
 }
Ejemplo n.º 2
0
 public BillOfMaterialsData(BillOfMaterialsData data)
 {
     StartDate       = data.StartDate;
     EndDate         = data.EndDate;
     UnitMeasureCode = data.UnitMeasureCode;
     BOMLevel        = data.BOMLevel;
     PerAssemblyQty  = data.PerAssemblyQty;
     UnitMeasure     = data.UnitMeasure;
     Product         = data.Product;
     ModifiedDate    = data.ModifiedDate;
     Uid             = data.Uid;
 }