⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 selectpathexpressionparser.cs

📁 NHibernate NET开发者所需的
💻 CS
字号:
namespace NHibernate.Hql.Classic
{
	/// <summary></summary>
	public class SelectPathExpressionParser : PathExpressionParser
	{
		/// <summary>
		/// 
		/// </summary>
		/// <param name="q"></param>
		public override void End(QueryTranslator q)
		{
			if (CurrentProperty != null && !q.IsShallowQuery)
			{
				// "finish off" the join
				Token(".", q);
				Token(null, q);
			}
			base.End(q);
		}

		/// <summary></summary>
		protected override void SetExpectingCollectionIndex()
		{
			throw new QueryException("expecting .elements or .indices after collection path expression in select");
		}

		/// <summary></summary>
		public string SelectName
		{
			get { return CurrentName; }
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -