Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ IsDel.GetHashCode();
         hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0);
         return(hashCode);
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ IsDel.GetHashCode();
         hashCode = (hashCode * 397) ^ (SpecCode != null ? SpecCode.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SpecName != null ? SpecName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (EducProgram != null ? EducProgram.GetHashCode() : 0);
         return(hashCode);
     }
 }