我有了不存在於數據庫中一個屬性域模型。例如... public class DomainModel: IKeyedEntity
{
//Id for the table
public int DomainModelID { get; set; }
//Foreign key value
public int FooID { get; set; }
我剛剛閱讀了關於聚合的一章,並發現我誤解了某些內容。 我們有三個對象:成員,項目,投標。 這裏是一本書的代碼片段: public class Member
{
public string Id {get; set;}
...
}
public class Item
{
public string Id {get; set;}
public ILis
我是UML表示中的新成員。我不能映射UML表達中的下面表示 1. Company have many users.
2. Each user may belongs to different company.
3.Each user may have different roles in different company.
如果我有表示此UML圖,我們怎樣才能找到在每個公司用戶的角色