Table of Contents

Interface ICanApplyID<T>

Namespace
Loehnert.TypeAndResult
Assembly
Loehnert.TypeAndResult.dll

Interface for a class which can apply an id.

public interface ICanApplyID<T> where T : EntityBase

Type Parameters

T

Type of the EntityBase class with the id to apply.

Methods

ApplyID(T)

Copies the ID from source to this ID.

void ApplyID(T source)

Parameters

source T

Source object.

Exceptions

InvalidOperationException

Thrown when this doesn't equals with source...