📄 iuniquekeyloadable.cs
字号:
using NHibernate.Engine;
namespace NHibernate.Persister.Entity
{
/// <summary>
/// Describes a class that may be loaded via a unique key.
/// </summary>
public interface IUniqueKeyLoadable
{
/// <summary>
/// Load an instance of the persistent class, by a unique key other than the primary key.
/// </summary>
object LoadByUniqueKey(string propertyName, object uniqueKey, ISessionImplementor session);
/// <summary>
/// Get the property number of the unique key property
/// </summary>
int GetPropertyIndex(string propertyName);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -