共用方式為


Repository<T>.GetKey(T) Method

Definition

Get a key for the specified item.

protected:
 abstract Guid GetKey(T item);
protected abstract Guid GetKey (T item);
abstract member GetKey : 'T -> Guid
Protected MustOverride Function GetKey (item As T) As Guid

Parameters

item
T

Item for which the key is required.

Returns

Returns a key.

Applies to