public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ IsDel.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); return(hashCode); } }
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); } }