public Event(Event e) { this.EventId = e.EventId; this.Ending = e.Ending; this.Start = e.Start; this.Title = e.Title; this.Description = e.Description; this.AccountId = e.AccountId; this.Created = e.Created; this.Updated = e.Updated; this.Account = e.Account; this.EventArtists = e.EventArtists; this.EventItems = e.EventItems; this.EventAudios = e.EventAudios; this.EventVideos = e.EventVideos; this.EventPhotos = e.EventPhotos; this.Location = e.Location; this.Photo = e.Photo; this.PhotoId = e.PhotoId; this.Venue = e.Venue; }
partial void DeleteEvent(Event instance);
partial void UpdateEvent(Event instance);
partial void InsertEvent(Event instance);
private void detach_Events(Event entity) { this.SendPropertyChanging(); entity.Photo = null; }
private void attach_Events(Event entity) { this.SendPropertyChanging(); entity.Photo = this; }