2

我的一个 POCO 类中有以下属性,用于生成 Code First 数据库:

''' <summary>
''' The surname of the player.
''' </summary>
''' <value></value>
''' <returns>A string containing the surname of the player.</returns>
''' <remarks></remarks>
<MaxLength(40)>
Public Property LastName As String

有没有办法让 MaxLength 数据注释自动包含在文档 xml 中?

4

0 回答 0