📄 ipropertymapping.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 + -