Converts the LogicalExpression to a SqlString.
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public override SqlString ToSqlString( ICriteria criteria, ICriteriaQuery criteriaQuery, IDictionary<string, IFilter> enabledFilters ) |
Visual Basic |
---|
Public Overrides Function ToSqlString ( _ criteria As ICriteria, _ criteriaQuery As ICriteriaQuery, _ enabledFilters As IDictionary(Of String, IFilter) _ ) As SqlString |
Visual C++ |
---|
public: virtual SqlString^ ToSqlString( ICriteria^ criteria, ICriteriaQuery^ criteriaQuery, IDictionary<String^, IFilter^>^ enabledFilters ) override |
Parameters
- criteria
- Type: NHibernate..::..ICriteria
[Missing <param name="criteria"/> documentation for "M:NHibernate.Criterion.LogicalExpression.ToSqlString(NHibernate.ICriteria,NHibernate.Criterion.ICriteriaQuery,System.Collections.Generic.IDictionary{System.String,NHibernate.IFilter})"]
- criteriaQuery
- Type: NHibernate.Criterion..::..ICriteriaQuery
[Missing <param name="criteriaQuery"/> documentation for "M:NHibernate.Criterion.LogicalExpression.ToSqlString(NHibernate.ICriteria,NHibernate.Criterion.ICriteriaQuery,System.Collections.Generic.IDictionary{System.String,NHibernate.IFilter})"]
- enabledFilters
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, IFilter>)>)>
[Missing <param name="enabledFilters"/> documentation for "M:NHibernate.Criterion.LogicalExpression.ToSqlString(NHibernate.ICriteria,NHibernate.Criterion.ICriteriaQuery,System.Collections.Generic.IDictionary{System.String,NHibernate.IFilter})"]
Return Value
A well formed SqlString for the Where clause.Implements
ICriterion..::..ToSqlString(ICriteria, ICriteriaQuery, IDictionary<(Of <<'(String, IFilter>)>>))Remarks
The SqlString will be enclosed by ( and ).