filterqueryplan.cs
来自「NHibernate NET开发者所需的」· CS 代码 · 共 27 行
CS
27 行
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 + =
减小字号Ctrl + -
显示快捷键?