-
Notifications
You must be signed in to change notification settings - Fork 928
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename ISQLFunctionExtended interface to ISQLFunctionExtended
- Loading branch information
Showing
13 changed files
with
131 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Collections.Generic; | ||
using NHibernate.Engine; | ||
using NHibernate.Type; | ||
|
||
namespace NHibernate.Dialect.Function | ||
{ | ||
// 6.0 TODO: Merge into ISQLFunction | ||
internal interface ISQLFunctionExtended : ISQLFunction | ||
{ | ||
/// <summary> | ||
/// The function name or <see langword="null"/> when multiple functions/operators/statements are used. | ||
/// </summary> | ||
string FunctionName { get; } | ||
|
||
/// <summary> | ||
/// Get the type that will be effectively returned by the underlying database. | ||
/// </summary> | ||
/// <param name="argumentTypes">The types of arguments.</param> | ||
/// <param name="mapping">The mapping for retrieving the argument sql types.</param> | ||
/// <param name="throwOnError">Whether to throw when the number of arguments is invalid or they are not supported.</param> | ||
/// <returns>The type returned by the underlying database or <see langword="null"/> when the number of arguments | ||
/// is invalid or they are not supported.</returns> | ||
/// <exception cref="QueryException">When <paramref name="throwOnError"/> is set to <see langword="true"/> and the | ||
/// number of arguments is invalid or they are not supported.</exception> | ||
IType GetEffectiveReturnType(IEnumerable<IType> argumentTypes, IMapping mapping, bool throwOnError); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters