public override int GetHashCode() { unchecked { int hashCode = (Id != null ? Id.GetHashCode() : 0); hashCode = (hashCode * 397) ^ VersionCounter.GetHashCode(); hashCode = (hashCode * 397) ^ Created.GetHashCode(); hashCode = (hashCode * 397) ^ LastUpdated.GetHashCode(); hashCode = (hashCode * 397) ^ (CreatedBy != null ? CreatedBy.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (WorkspaceId != null ? WorkspaceId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (BranchName != null ? BranchName.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { return(WorkspaceId.GetHashCode()); }