void RaiseVideoRentObjectsChanged(AllObjects <T> oldValue, AllObjects <T> newValue) { if (VideoRentObjectsChanged != null) { VideoRentObjectsChanged(this, new ThePropertyChangedEventArgs <AllObjects <T> >(oldValue, newValue)); } }
protected override void DisposeManaged() { if (VideoRentObjects != null) { UnsubscribeFromChanged(); } VideoRentObjects = null; base.DisposeManaged(); }
protected override void UpdateOverride() { if (VideoRentObjects != null) { UnsubscribeFromChanged(); } VideoRentObjects = VRObjectsEditObjectParent.GetVideoRentObjects(); if (VideoRentObjects != null) { SubscribeToChanged(); } }
public CountryEditData(Session session) { List = new AllObjects <Country>(session, null, new SortProperty("[Name]", SortingDirection.Ascending)); }
public CustomerStatsEditObject(EditableObject parent, AllObjects <Customer> customers) : base(parent) { Customers = customers; }
protected override void DisposeManaged() { List = null; base.DisposeManaged(); }
public MovieCategoryEditData(Session session, Guid?excludedObjectOid) { MovieCategory excludedObject = excludedObjectOid == null ? null : SessionHelper.GetObjectByKey <MovieCategory>((Guid)excludedObjectOid, session); List = new AllObjects <MovieCategory>(excludedObject, session, null, new SortProperty("[Name]", SortingDirection.Ascending)); }
public LanguageEditData(Session session) { List = new AllObjects <Language>(session, null, new SortProperty("[Name]", SortingDirection.Ascending)); }
public ArtistEditData(Session session) { List = new AllObjects <Artist>(session, null, new SortProperty("[FirstName]", SortingDirection.Ascending)); }
public MovieArtistLineEditData(Session session) { List = new AllObjects <MovieArtistLine>(session, null, new SortProperty("[Name]", SortingDirection.Ascending)); }