17,748
社区成员
发帖
与我相关
我的任务
分享
public string Property(EdmProperty edmProperty)
{
return string.Format(CultureInfo.InvariantCulture,
"/// <summary>\r\n\t/// {5}\r\n\t/// </summary>\r\n\t{0} {1} {2} {{ {3}get; {4}set; }}",
Accessibility.ForProperty(edmProperty),
_typeMapper.GetTypeName(edmProperty.TypeUsage),
_code.Escape(edmProperty),
_code.SpaceAfter(Accessibility.ForGetter(edmProperty)),
_code.SpaceAfter(Accessibility.ForSetter(edmProperty)),
edmProperty.Documentation == null ? "" : edmProperty.Documentation.Summary
);
}
/// <summary>
///
/// </summary>
public int id { get; set; }
/// <summary>
///
/// </summary>
public string Cname { get; set; }
/// <summary>
///
/// </summary>
public string CohterN { get; set; }