Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make AbstractQueryImpl.GetTranslators protected internal

  • Loading branch information...
commit e1ff2733ac9950efd92fe9be0d9917cb7d19cba6 1 parent ede6542
@hazzik hazzik authored
View
2  src/NHibernate/Impl/AbstractQueryImpl.cs
@@ -1039,6 +1039,6 @@ public override string ToString()
return queryString;
}
- internal abstract IEnumerable<ITranslator> GetTranslators(ISessionImplementor sessionImplementor, QueryParameters queryParameters);
+ protected internal abstract IEnumerable<ITranslator> GetTranslators(ISessionImplementor sessionImplementor, QueryParameters queryParameters);
}
}
View
2  src/NHibernate/Impl/ExpressionQueryImpl.cs
@@ -145,7 +145,7 @@ public override IList<T> List<T>()
}
}
- internal override IEnumerable<ITranslator> GetTranslators(ISessionImplementor sessionImplementor, QueryParameters queryParameters)
+ protected internal override IEnumerable<ITranslator> GetTranslators(ISessionImplementor sessionImplementor, QueryParameters queryParameters)
{
// NOTE: updates queryParameters.NamedParameters as (desired) side effect
var queryString = ExpandParameters(queryParameters.NamedParameters);
View
2  src/NHibernate/Impl/MultiQueryImpl.cs
@@ -777,7 +777,7 @@ private int AddQueryForLaterExecutionAndReturnIndexOfQuery(System.Type resultGen
#endregion
}
- internal interface ITranslator
+ public interface ITranslator
{
Loader.Loader Loader { get; }
IType[] ReturnTypes { get; }
View
2  src/NHibernate/Impl/QueryImpl.cs
@@ -126,7 +126,7 @@ public override int ExecuteUpdate()
}
}
- internal override IEnumerable<ITranslator> GetTranslators(ISessionImplementor sessionImplementor, QueryParameters queryParameters)
+ protected internal override IEnumerable<ITranslator> GetTranslators(ISessionImplementor sessionImplementor, QueryParameters queryParameters)
{
// NOTE: updates queryParameters.NamedParameters as (desired) side effect
var queryString = ExpandParameterLists(queryParameters.NamedParameters);
View
2  src/NHibernate/Impl/SqlQueryImpl.cs
@@ -312,7 +312,7 @@ public override int ExecuteUpdate()
}
}
- internal override IEnumerable<ITranslator> GetTranslators(ISessionImplementor sessionImplementor, QueryParameters queryParameters)
+ protected internal override IEnumerable<ITranslator> GetTranslators(ISessionImplementor sessionImplementor, QueryParameters queryParameters)
{
// NOTE: updates queryParameters.NamedParameters as (desired) side effect
ExpandParameterLists(queryParameters.NamedParameters);
Please sign in to comment.
Something went wrong with that request. Please try again.