C# Class Todo.Services.DataMapper

Class for mapping entities to DTOs and vice versa.
显示文件 Open project: ChristianWeyer/tUdUs

Public Methods

Method Description
Map ( this items ) : IEnumerable

Maps the specified items.

Map ( this items ) : IEnumerable

Maps the specified items.

Map ( this items ) : IQueryable

Maps the specified items.

Map ( this item ) : TodoItem

Maps the specified item.

Map ( this item ) : TodoItemDto

Maps the specified item.

Private Methods

Method Description
DataMapper ( ) : System.Collections.Generic

Method Details

Map() public static method

Maps the specified items.
public static Map ( this items ) : IEnumerable
items this The items.
return IEnumerable

Map() public static method

Maps the specified items.
public static Map ( this items ) : IEnumerable
items this The items.
return IEnumerable

Map() public static method

Maps the specified items.
public static Map ( this items ) : IQueryable
items this The items.
return IQueryable

Map() public static method

Maps the specified item.
public static Map ( this item ) : TodoItem
item this The item.
return Todo.Entities.TodoItem

Map() public static method

Maps the specified item.
public static Map ( this item ) : TodoItemDto
item this The item.
return Todo.Contracts.TodoItemDto