📄 filterqueryplan.cs
字号:
using System;
using System.Collections.Generic;
namespace NHibernate.Engine.Query
{
/// <summary>
/// Extends an HQLQueryPlan to maintain a reference to the collection-role name
/// being filtered.
/// </summary>
[Serializable]
public class FilterQueryPlan : HQLQueryPlan
{
private readonly string collectionRole;
public FilterQueryPlan(string hql, string collectionRole, bool shallow,
IDictionary<string, IFilter> enabledFilters, ISessionFactoryImplementor factory)
: base(hql, collectionRole, shallow, enabledFilters, factory)
{
this.collectionRole = collectionRole;
}
public string CollectionRole
{
get { return collectionRole; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -