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

📄 ipropertymapping.cs

📁 NHibernate NET开发者所需的
💻 CS
字号:
using NHibernate.Type;

namespace NHibernate.Persister.Entity
{
	/// <summary>
	/// Abstraction of all mappings that define properties: entities, collection elements.
	/// </summary>
	public interface IPropertyMapping
	{
		// TODO: It would be really, really nice to use this to also model components!

		/// <summary>
		/// Get the type of the thing containing the properties
		/// </summary>
		IType Type { get; }

		/// <summary>
		/// Given a component path expression, get the type of the property
		/// </summary>
		/// <param name="propertyName"></param>
		/// <returns></returns>
		IType ToType(string propertyName);

		/// <summary>
		/// Given a query alias and a property path, return the qualified column name
		/// </summary>
		/// <param name="alias"></param>
		/// <param name="propertyName"></param>
		/// <returns></returns>
		string[] ToColumns(string alias, string propertyName);

		/// <summary> Given a property path, return the corresponding column name(s).</summary>
		string[] ToColumns(string propertyName);
	}
}

⌨️ 快捷键说明

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