Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
        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;
        }