Exemplo n.º 1
0
 protected override void LazySet()
 {
     base.LazySet();
     if (PersistenceState == PersistenceState.NewAndChanged || PersistenceState == PersistenceState.LoadedAndChanged)
     {
         if ((object)InnerData == (object)OriginalData)
         {
             OriginalData = new ProductModelData(InnerData);
         }
     }
 }
Exemplo n.º 2
0
 public ProductModelData(ProductModelData data)
 {
     Name = data.Name;
     CatalogDescription = data.CatalogDescription;
     Instructions       = data.Instructions;
     rowguid            = data.rowguid;
     Illustration       = data.Illustration;
     ProductDescription = data.ProductDescription;
     Culture            = data.Culture;
     ModifiedDate       = data.ModifiedDate;
     Uid = data.Uid;
 }