We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79c3469 commit 81b8c86Copy full SHA for 81b8c86
src/NHibernate/SqlTypes/SqlType.cs
@@ -130,15 +130,15 @@ public bool Equals(SqlType rhsSqlType)
130
return false;
131
}
132
133
- if (LengthDefined && rhsSqlType.LengthDefined)
+ if (LengthDefined)
134
{
135
return (DbType.Equals(rhsSqlType.DbType)) && (Length == rhsSqlType.Length);
136
137
- if (PrecisionDefined && rhsSqlType.PrecisionDefined)
+ if (PrecisionDefined)
138
139
return (DbType.Equals(rhsSqlType.DbType)) && (Precision == rhsSqlType.Precision) && (Scale == rhsSqlType.Scale);
140
141
- if (ScaleDefined && rhsSqlType.ScaleDefined)
+ if (ScaleDefined)
142
143
return DbType.Equals(rhsSqlType.DbType) && Scale == rhsSqlType.Scale;
144
0 commit comments