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();
     }
 }
Exemple #4
0
 public CountryEditData(Session session)
 {
     List = new AllObjects <Country>(session, null, new SortProperty("[Name]", SortingDirection.Ascending));
 }
Exemple #5
0
 public CustomerStatsEditObject(EditableObject parent, AllObjects <Customer> customers) : base(parent)
 {
     Customers = customers;
 }
Exemple #6
0
 protected override void DisposeManaged()
 {
     List = null;
     base.DisposeManaged();
 }
Exemple #7
0
        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));
        }
Exemple #8
0
 public LanguageEditData(Session session)
 {
     List = new AllObjects <Language>(session, null, new SortProperty("[Name]", SortingDirection.Ascending));
 }
Exemple #9
0
 public ArtistEditData(Session session)
 {
     List = new AllObjects <Artist>(session, null, new SortProperty("[FirstName]", SortingDirection.Ascending));
 }
Exemple #10
0
 public MovieArtistLineEditData(Session session)
 {
     List = new AllObjects <MovieArtistLine>(session, null, new SortProperty("[Name]", SortingDirection.Ascending));
 }