ihasassignedid.cs
来自「NHibernate简单DEMO」· CS 代码 · 共 14 行
CS
14 行
namespace BasicSample.Core.Domain
{
public interface IHasAssignedId<IdT>
{
/// <summary>
/// Enables developer to set the assigned ID of an object. This is not part of
/// <see cref="DomainObject{IdT}" /> since most domain objects do not have assigned
/// IDs and since business rules will certainly vary as to what constitutes a valid,
/// assigned ID for one object but not for another.
/// </summary>
void SetAssignedIdTo(IdT assignedId);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?