Exemple #1
0
 public bool AllPropsEqual(FMCacheDotNet other)
 {
     return(IEN == other.IEN &&
            Title == other.Title &&
            StatusID == other.StatusID &&
            InputOn.ToString("yyyy/MM/dd HH:mm:ss") == other.InputOn.ToString("yyyy/MM/dd HH:mm:ss") &&
            InputByID == other.InputByID &&
            IsActive == other.IsActive);
 }
Exemple #2
0
 public bool AllPropsEqual(TestObject other)
 {
     return(other != null &&
            ID == other.ID &&
            Title == other.Title &&
            Description == other.Description &&
            StatusID == other.StatusID &&
            InputOn.ToString("MM/dd/yyyy HH:mm") == other.InputOn.ToString("MM/dd/yyyy HH:mm") &&
            InputByID == other.InputByID &&
            IsActive == other.IsActive);
 }