public TransitHighlight(DBlog.Data.Highlight o) : base(o.Id) { Url = o.Url; Title = o.Title; Description = o.Description; ImageId = o.Image.Id; Position = o.Position; }
public HighlightTest() { ImageTest image = new ImageTest(); AddDependentObject(image); mHighlight = new Highlight(); mHighlight.Description = Guid.NewGuid().ToString(); mHighlight.Title = Guid.NewGuid().ToString(); mHighlight.Url = Guid.NewGuid().ToString(); mHighlight.Image = image.Image; }