Interface ICanApplyID<T>
Interface for a class which can apply an id.
Namespace: Loehnert.TypeAndResult
Assembly: Loehnert.TypeAndResult.dll
Syntax
public interface ICanApplyID<T>
where T : EntityBase
Type Parameters
Name | Description |
---|---|
T | Type of the EntityBase class with the id to apply. |
Methods
ApplyID(T)
Declaration
void ApplyID(T source)
Parameters
Type | Name | Description |
---|---|---|
T | source | Source object. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when this doesn't equals with |