C# Class Mongo.Context.MongoDSPUpdateProvider

Inheritance: DataServiceProvider.DSPUpdateProvider
Mostra file Open project: object/MongOData

Public Methods

Method Description
ClearChanges ( ) : void
CreateResource ( string containerName, string fullTypeName ) : object
DeleteResource ( object targetResource ) : void
MongoDSPUpdateProvider ( string connectionString, DSPContext dataContext, MongoMetadata mongoMetadata ) : System
SaveChanges ( ) : void
SetValue ( object targetResource, string propertyName, object propertyValue ) : void

Private Methods

Method Description
InsertDocument ( MongoContext mongoContext, ResourceChange change ) : void
RemoveDocument ( MongoContext mongoContext, ResourceChange change ) : void
UpdateDocument ( MongoContext mongoContext, ResourceChange change ) : void

Method Details

ClearChanges() public method

public ClearChanges ( ) : void
return void

CreateResource() public method

public CreateResource ( string containerName, string fullTypeName ) : object
containerName string
fullTypeName string
return object

DeleteResource() public method

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

MongoDSPUpdateProvider() public method

public MongoDSPUpdateProvider ( string connectionString, DSPContext dataContext, MongoMetadata mongoMetadata ) : System
connectionString string
dataContext DataServiceProvider.DSPContext
mongoMetadata MongoMetadata
return System

SaveChanges() public method

public SaveChanges ( ) : void
return void

SetValue() public method

public SetValue ( object targetResource, string propertyName, object propertyValue ) : void
targetResource object
propertyName string
propertyValue object
return void