public static Product CreateDefault() { var result = new Product(); result.SubProducts = ProductUsageCollection.CreateDefault(); return result; }
void IInformationObject.SetInstanceTreeValuesAsUnmodified() { _unmodified_UsageAmountInDecimal = UsageAmountInDecimal; _unmodified_Product = Product; if(Product != null) ((IInformationObject) Product).SetInstanceTreeValuesAsUnmodified(); }
private void CopyContentFrom(Product sourceObject) { ImageBaseUrl = sourceObject.ImageBaseUrl; Title = sourceObject.Title; Excerpt = sourceObject.Excerpt; Description = sourceObject.Description; SubProducts = sourceObject.SubProducts; }
void IInformationObject.SetInstanceTreeValuesAsUnmodified() { _unmodified_ImageBaseUrl = ImageBaseUrl; _unmodified_Title = Title; _unmodified_Excerpt = Excerpt; _unmodified_Description = Description; _unmodified_Product = Product; if(Product != null) ((IInformationObject) Product).SetInstanceTreeValuesAsUnmodified(); _unmodified_Who = Who; if(Who != null) ((IInformationObject) Who).SetInstanceTreeValuesAsUnmodified(); }
partial static void CreateCustomDemo(ref Product customDemoObject);