📄 ihasassignedid.cs
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -