Share via


AggregateType.TryGetPrimaryKeyFieldName(IEnumerable<String>) Method

Definition

Caution

preview

Primarily used for optimizing delegation when looking up record with primary key on a relationship. e.g. LookUp(t1, relationField.PrimaryKey = GUID).

[System.Obsolete("preview")]
public virtual bool TryGetPrimaryKeyFieldName(out System.Collections.Generic.IEnumerable<string> primaryKeyNames);
[<System.Obsolete("preview")>]
abstract member TryGetPrimaryKeyFieldName : seq -> bool
override this.TryGetPrimaryKeyFieldName : seq -> bool
Public Overridable Function TryGetPrimaryKeyFieldName (ByRef primaryKeyNames As IEnumerable(Of String)) As Boolean

Parameters

primaryKeyNames
IEnumerable<String>

List of key names creating the primary key. There could be multiple entries if we have a composed key. This set is ordered.

Returns

Attributes

Applies to