forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIExplicitParameterSpecification.cs
32 lines (29 loc) · 1.09 KB
/
IExplicitParameterSpecification.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using NHibernate.Engine;
namespace NHibernate.Param
{
/// <summary>
/// An additional contract for parameters which originate from parameters explicitly encountered in the source statement
/// (HQL or native-SQL).
/// Author: Steve Ebersole
/// Ported by: Steve Strong
/// </summary>
public interface IExplicitParameterSpecification : IParameterSpecification
{
/// <summary>
/// Retrieves the line number on which this parameter occurs in the source query.
/// </summary>
int SourceLine { get; }
/// <summary>
/// Retrieves the column number (within the {@link #getSourceLine()}) where this parameter occurs.
/// </summary>
int SourceColumn { get; }
/// <summary>
/// Explicit parameters may have no set the <see cref="IParameterSpecification.ExpectedType"/> during query parse.
/// </summary>
/// <param name="queryParameters">The defined values for the current query execution.</param>
/// <remarks>
/// This method should be removed when the parameter type is inferred during the parse.
/// </remarks>
void SetEffectiveType(QueryParameters queryParameters);
}
}