.NET Portable TypeCast  3.1.0.4
A, easy-to-use tested, generic, portable, runtime-extensible, arbitrary type converter library
IRepositoryEnumerable.cs File Reference

Go to the source code of this file.

Classes

interface  Core.TypeCast.IRepositoryEnumerable< out out TOut >
 The generic repository interface with one lookup identifier More...
 
interface  Core.TypeCast.IRepositoryEnumerable< in in TId1, out out TOut >
 The generic repository interface with one lookup identifier, and a strict entity return type of TOut More...
 
interface  Core.TypeCast.IRepositoryEnumerable< in in TId1, in in TId2, out out TOut >
 The generic repository interface with twp lookup identifiers, and a strict entity return type of TOut More...
 

Namespaces

namespace  Core.TypeCast
 

Class Documentation

interface Core::TypeCast::IRepositoryEnumerable

The generic repository interface with one lookup identifier

Implemented by any instantiable object which can provide data by passing one Identifier to facilitate lookup

@code{cs}
ConverterCollection.CurrentInstance.Add( (int[] a, IModelWeather model) => {
...repo...
});
IRepositoryEnumerable<IModelWeather> repositoryQuery = new []{40420,52000,80801,20030}
.ConvertTo<IRepositoryEnumerable<IModelWeather>>( modelInstance );
foreach( var item in repositoryQuery)
{
...
}
@endcode
Type Constraints
TOut :IEnumerable 

Definition at line 31 of file IRepositoryEnumerable.cs.

+ Collaboration diagram for Core.TypeCast.IRepositoryEnumerable< out out TOut >:
interface Core::TypeCast::IRepositoryEnumerable

The generic repository interface with one lookup identifier, and a strict entity return type of TOut

Template Parameters
TId1The Type of the lookup identifier id1
TOutThe Type of the entity returned from the repository method Get(TId1)

Implemented by any instantiable object which can provide data by passing one Identifier to facilitate lookup

Type Constraints
TOut :IEnumerable 

Definition at line 37 of file IRepositoryEnumerable.cs.

+ Collaboration diagram for Core.TypeCast.IRepositoryEnumerable< in in TId1, out out TOut >: