EntityViewContainer.ViewCount 屬性
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
取得或設定檢視計數。
命名空間: System.Data.Entity.Core.Mapping
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
Public Property ViewCount As Integer
Get
Protected Set
'用途
Dim instance As EntityViewContainer
Dim value As Integer
value = instance.ViewCount
instance.ViewCount = value
public int ViewCount { get; protected set; }
public:
property int ViewCount {
int get ();
protected: void set (int value);
}
member ViewCount : int with get, set
function get ViewCount () : int
protected function set ViewCount (value : int)
屬性值
類型:System.Int32
檢視計數。