Beispiel #1
0
 public void Clone(IPersistibleObject obj, IRepository repository, Context context)
 {
     Artist instance = obj as Artist;
     instance.Name = Name;
     instance.SpanishBio = SpanishBio;
     instance.EnglishBio = EnglishBio;
 }
Beispiel #2
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context context)
        {
            Item instance = obj as Item;

            instance.ItemId = ItemId;
            instance.Price  = Price;
            instance.Code   = Code;

            instance.PhotoUrl         = PhotoUrl;
            instance.Meta.Tags        = Meta.Tags;
            instance.Meta.Title       = Meta.Title;
            instance.UseAsBackground  = UseAsBackground;
            instance.Meta.Description = Meta.Description;

            instance.Spanish.Description = Spanish.Description;
            instance.English.Description = English.Description;
            instance.Spanish.Name        = Spanish.Name;
            instance.English.Name        = English.Name;

            instance.Artist = repository.Get <Artist>(context, Artist.ArtistId);

            instance.AvailableFrames.Load(repository, context, AvailableFrames);
            instance.AvailableSizes.Load(repository, context, AvailableSizes);
            instance.Tags.Load(repository, context, Tags);
        }
Beispiel #3
0
 public void Clone(IPersistibleObject obj, IRepository repository, Context context)
 {
     Setting instance = obj as Setting;
     instance.Meta.Description = Meta.Description;
     instance.Meta.Tags = Meta.Tags;
     instance.Meta.Title = Meta.Title;
 }
Beispiel #4
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context context)
        {
            Item instance = obj as Item;

            instance.ItemId = ItemId;
            instance.Price = Price;
            instance.Code = Code;

            instance.PhotoUrl = PhotoUrl;
            instance.Meta.Tags = Meta.Tags;
            instance.Meta.Title = Meta.Title;
            instance.UseAsBackground= UseAsBackground;
            instance.Meta.Description = Meta.Description;

            instance.Spanish.Description = Spanish.Description;
            instance.English.Description = English.Description;
            instance.Spanish.Name = Spanish.Name;
            instance.English.Name = English.Name;

            instance.Artist = repository.Get<Artist>(context, Artist.ArtistId);

            instance.AvailableFrames.Load(repository, context, AvailableFrames);
            instance.AvailableSizes.Load(repository, context, AvailableSizes);
            instance.Tags.Load(repository, context, Tags);
        }
Beispiel #5
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context context)
        {
            Setting instance = obj as Setting;

            instance.Meta.Description = Meta.Description;
            instance.Meta.Tags        = Meta.Tags;
            instance.Meta.Title       = Meta.Title;
        }
Beispiel #6
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context context)
        {
            Artist instance = obj as Artist;

            instance.Name       = Name;
            instance.SpanishBio = SpanishBio;
            instance.EnglishBio = EnglishBio;
        }
Beispiel #7
0
 public void Clone(IPersistibleObject obj, IRepository repository, Context comntext)
 {
     User instance = obj as User;
     instance.Name = Name;
     instance.Password = Password;
     instance.Email = Email;
     instance.IsActive = IsActive;
     instance.IsAdministrator = IsAdministrator;
 }
Beispiel #8
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context comntext)
        {
            User instance = obj as User;

            instance.Name            = Name;
            instance.Password        = Password;
            instance.Email           = Email;
            instance.IsActive        = IsActive;
            instance.IsAdministrator = IsAdministrator;
        }
Beispiel #9
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context context)
        {
            Size instance = obj as Size;

            instance.Description = Description;
        }
Beispiel #10
0
 public void Clone(IPersistibleObject obj, IRepository repository, Context context)
 {
     Size instance = obj as Size;
     instance.Description = Description;
 }
Beispiel #11
0
 public void Clone(IPersistibleObject obj, IRepository repository, Context context)
 {
     SaleDetail instance = obj as SaleDetail;
     instance.Quantity = Quantity;
 }
Beispiel #12
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context context)
        {
            SaleDetail instance = obj as SaleDetail;

            instance.Quantity = Quantity;
        }
Beispiel #13
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context context)
        {
            Tag instance = obj as Tag;

            instance.Name = Name;
        }
Beispiel #14
0
 public void Clone(IPersistibleObject obj, IRepository repository, Context context)
 {
     Sale instance = obj as Sale;
     instance.Date = Date;
 }
Beispiel #15
0
 public void Clone(IPersistibleObject obj, IRepository repository, Context context)
 {
     Resource instance = obj as Resource;
     instance.Value = Value;
 }
Beispiel #16
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context context)
        {
            Sale instance = obj as Sale;

            instance.Date = Date;
        }
Beispiel #17
0
        public void Clone(IPersistibleObject obj, IRepository repository, Context context)
        {
            Resource instance = obj as Resource;

            instance.Value = Value;
        }
Beispiel #18
0
 public void Clone(IPersistibleObject obj, IRepository repository, Context context)
 {
     Tag instance = obj as Tag;
     instance.Name = Name;
 }