C# Class Northwind.InMemory.NorthwindContext

Mostrar archivo Open project: object/NorthwindOData Class Usage Examples

Public Methods

Method Description
Add ( object entity ) : void
IUpdatable ( ) : void
IUpdatable ( object targetResource ) : void
IUpdatable ( object targetResource, string propertyName, object resourceToBeAdded ) : void
Remove ( object entity ) : void

Private Methods

Method Description
AddEntityToContainer ( object entity ) : void
FindContainerField ( Type entityType ) : FieldInfo
IUpdatable ( IQueryable query, string fullTypeName ) : object
IUpdatable ( object resource ) : object
IUpdatable ( object targetResource, string propertyName ) : object
IUpdatable ( string containerName, string fullTypeName ) : object
NorthwindContext ( ) : System
Populate ( ) : void
RemoveEntityFromContainer ( object entity ) : void

Method Details

Add() public method

public Add ( object entity ) : void
entity object
return void

IUpdatable() public method

public IUpdatable ( ) : void
return void

IUpdatable() public method

public IUpdatable ( object targetResource ) : void
targetResource object
return void

IUpdatable() public method

public IUpdatable ( object targetResource, string propertyName, object resourceToBeAdded ) : void
targetResource object
propertyName string
resourceToBeAdded object
return void

Remove() public method

public Remove ( object entity ) : void
entity object
return void