Beispiel #1
0
 protected override void AddDescriptions()
 {
     base.AddDescriptions();
     AddDescription(nameof(Title), Title.ToStr());
     AddDescription(nameof(PublishDate), PublishDate.ToStr());
     AddDescription(nameof(Content), Content.ToStr());
     AddDescription(nameof(CategoryId), CategoryId.ToStr());
 }
Beispiel #2
0
 protected override void AddDescriptions()
 {
     base.AddDescriptions();
     AddDescription(nameof(Name), Name.ToStr());
     AddDescription(nameof(CategoryId), CategoryId.ToStr());
     AddDescription(nameof(ColorId), ColorId.ToStr());
     AddDescription(nameof(Price), Price.ToStr());
     AddDescription(nameof(ProductionDate), ProductionDate.ToStr());
 }