C# Class MS.OSM.Querys.DAL.EF.DataMappers.EFNodesDataMapper

Inheritance: INodesDataMapper
Exibir arquivo Open project: diogofdsilva/MS-OSM-Querys

Public Methods

Method Description
Add ( Node e ) : Node
Delete ( long key ) : Node
EFNodesDataMapper ( OSMEntities entities ) : System
Get ( long key ) : Node
GetAll ( ) : List
GetAllFromWay ( long wayId ) : List
GetClosestNode ( double lat, double lon ) : Node
GetClosestWayNode ( double lat, double lon, long wayId ) : Node
Update ( Node e ) : Node

Method Details

Add() public method

public Add ( Node e ) : Node
e MS.OSM.Querys.DTO.Node
return MS.OSM.Querys.DTO.Node

Delete() public method

public Delete ( long key ) : Node
key long
return MS.OSM.Querys.DTO.Node

EFNodesDataMapper() public method

public EFNodesDataMapper ( OSMEntities entities ) : System
entities MS.OSM.Querys.DAL.EF.Model.OSMEntities
return System

Get() public method

public Get ( long key ) : Node
key long
return MS.OSM.Querys.DTO.Node

GetAll() public method

public GetAll ( ) : List
return List

GetAllFromWay() public method

public GetAllFromWay ( long wayId ) : List
wayId long
return List

GetClosestNode() public method

public GetClosestNode ( double lat, double lon ) : Node
lat double
lon double
return MS.OSM.Querys.DTO.Node

GetClosestWayNode() public method

public GetClosestWayNode ( double lat, double lon, long wayId ) : Node
lat double
lon double
wayId long
return MS.OSM.Querys.DTO.Node

Update() public method

public Update ( Node e ) : Node
e MS.OSM.Querys.DTO.Node
return MS.OSM.Querys.DTO.Node