MetadataDebugStringOptions 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
針對元資料物件,可以不同方式列印除錯字串。
此列舉支援其成員值的位元組合。
[System.Flags]
public enum MetadataDebugStringOptions
[<System.Flags>]
type MetadataDebugStringOptions =
Public Enum MetadataDebugStringOptions
- 繼承
-
MetadataDebugStringOptions
- 屬性
欄位
| 名稱 | 值 | Description |
|---|---|---|
| ShortDefault | 0 | 預設設定為短除錯字串。 |
| IncludeAnnotations | 1 | 在除錯字串中加入註解。 |
| LongDefault | 1 | 預設設定為長除錯字串。 |
| IncludePropertyIndexes | 2 | 在除錯字串中包含屬性索引。 |
| SingleLine | 4 | 只在單行列印除錯字串。 |
| SingleLineDefault | 4 | 單行除錯字串的預設設定。 |
備註
更多資訊與範例請參閱 建模實體類型與關係 ,以及 EF Core 除錯檢視 。