Method Match
| Improve this Doc View SourceMatch<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. |
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. |