Skip to content

Commit df065e1

Browse files
committed
Fix CountBigQueryFunction ReturnType method
1 parent 3a8dc8c commit df065e1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/NHibernate/Dialect/MsSql2000Dialect.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -705,12 +705,7 @@ protected virtual string GetSelectExistingObject(string catalog, string schema,
705705
[Serializable]
706706
protected class CountBigQueryFunction : ClassicAggregateFunction
707707
{
708-
public CountBigQueryFunction() : base("count_big", true) { }
709-
710-
public override IType GetEffectiveReturnType(IEnumerable<IType> argumentTypes, IMapping mapping, bool throwOnError)
711-
{
712-
return NHibernateUtil.Int64;
713-
}
708+
public CountBigQueryFunction() : base("count_big", true, NHibernateUtil.Int64) { }
714709
}
715710

716711
[Serializable]

0 commit comments

Comments
 (0)