Skip to content

Commit dca8472

Browse files
committed
Fix CountBigQueryFunction ReturnType method
1 parent 89e9933 commit dca8472

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
@@ -699,12 +699,7 @@ protected virtual string GetSelectExistingObject(string catalog, string schema,
699699
[Serializable]
700700
protected class CountBigQueryFunction : ClassicAggregateFunction
701701
{
702-
public CountBigQueryFunction() : base("count_big", true) { }
703-
704-
public override IType GetEffectiveReturnType(IEnumerable<IType> argumentTypes, IMapping mapping, bool throwOnError)
705-
{
706-
return NHibernateUtil.Int64;
707-
}
702+
public CountBigQueryFunction() : base("count_big", true, NHibernateUtil.Int64) { }
708703
}
709704

710705
[Serializable]

0 commit comments

Comments
 (0)