Show / Hide Table of Contents

Method Match

| Improve this Doc View Source

Match<T>(IEntity<T>, T)

Matches entity with specified key.

Declaration
public static KeyMapping Match<T>(this IEntity<T> source, T target)

    where T : CandidateKey
Parameters
Type Name Description
IEntity<T> source

The source entity.

T target

The target key.

Returns
Type Description
KeyMapping

The result key mapping.

Type Parameters
Name Description
T

Key type of the source entity.

| Improve this Doc View Source

Match<T>(IEntity<T>, IEntity<T>)

Matches two entities with same key.

Declaration
public static KeyMapping Match<T>(this IEntity<T> source, IEntity<T> target)

    where T : CandidateKey
Parameters
Type Name Description
IEntity<T> source

The source entity.

IEntity<T> target

The target entity.

Returns
Type Description
KeyMapping

The result key mapping.

Type Parameters
Name Description
T

Key type of the entity.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest