First try with linq2db
This commit is contained in:
@ -24,7 +24,7 @@ namespace UserService.Infrastructure.DataModels
|
||||
public int CompareTo(Node? other)
|
||||
{
|
||||
if (ReferenceEquals(this, other)) return 0;
|
||||
if (ReferenceEquals(null, other)) return 1;
|
||||
if (other is null) return 1;
|
||||
var commonNameComparison = string.Compare(CommonName, other.CommonName, StringComparison.Ordinal);
|
||||
if (commonNameComparison != 0) return commonNameComparison;
|
||||
return Id.CompareTo(other.Id);
|
||||
|
Reference in New Issue
Block a user