KeylessAttribute 類別

定義

將類型標示為無索引鍵實體。

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class KeylessAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type KeylessAttribute = class
    inherit Attribute
Public NotInheritable Class KeylessAttribute
Inherits Attribute
繼承
KeylessAttribute
屬性

備註

如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。

建構函式

KeylessAttribute()

將類型標示為無索引鍵實體。

適用於