AggregateType.TryGetPrimaryKeyFieldName(IEnumerable<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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