3
我有一個模型對象調用Country
:命名DTO對象
class Country
{
public string Name { get; set; }
public string Code { get; set; }
public Region[] Regions {get;set;}
public URI[] Uris {get;set;}
}
,並通過WebService的我想在幾個版本得到這個國家:
- 只有名稱和代碼
- 每場
- 沒有尤里斯
- 每場每一個申請沒有地區 的集合
什麼名字給他們呢?
- CountryNameWithCode
- CountryWithoutUris
- 國家
- CountryWithoutRegions?
這是在英國的客戶。對不起,我英文很差。
看起來不錯,但是如果我的班級有例如10個字段?它不會看起來很好 – user278618 2010-09-18 18:04:31