private bool EqualsTqRegistrationPathway(TqRegistrationPathway x, TqRegistrationPathway y)
 {
     if (x == null && x == null)
     {
         return(true);
     }
     else if (x == null || x == null)
     {
         return(false);
     }
     else if (x.GetType() != y.GetType())
     {
         return(false);
     }
     else
     {
         var retVal =
             //x.TqRegistrationProfileId == y.TqRegistrationProfileId &&
             x.TqProviderId == y.TqProviderId &&
             Equals(x.StartDate, y.StartDate) &&
             Equals(x.EndDate, y.EndDate) &&
             x.Status == y.Status;
         return(retVal);
     }
 }
Beispiel #2
0
 private bool EqualsTqRegistrationPathway(TqRegistrationPathway x, TqRegistrationPathway y)
 {
     if (x == null && y == null)
     {
         return(true);
     }
     else if (x == null || y == null)
     {
         return(false);
     }
     else if (x.GetType() != y.GetType())
     {
         return(false);
     }
     else
     {
         return(x.TqProviderId == y.TqProviderId && Equals(x.AcademicYear, y.AcademicYear) && x.Status == y.Status);
     }
 }