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