C# Class BrightstarDB.Models.EventFeed.EventFeedContext

Inheritance: BrightstarEntityContext
Mostrar archivo Open project: BrightstarDB/EventFeedModel Class Usage Examples

Public Methods

Method Description
EventFeedContext ( IDataObjectStore dataObjectStore ) : System

Initialize a new entity context using the specified Brightstar Data Object Store connection

EventFeedContext ( string connectionString, bool enableOptimisticLocking = null ) : System

Initialize a new entity context using the specified Brightstar connection string

Private Methods

Method Description
EventFeedContext ( ) : System
InitializeContext ( ) : void

Method Details

EventFeedContext() public method

Initialize a new entity context using the specified Brightstar Data Object Store connection
public EventFeedContext ( IDataObjectStore dataObjectStore ) : System
dataObjectStore IDataObjectStore The connection to the Brightstar Data Object Store that will provide the entity objects
return System

EventFeedContext() public method

Initialize a new entity context using the specified Brightstar connection string
public EventFeedContext ( string connectionString, bool enableOptimisticLocking = null ) : System
connectionString string The connection to be used to connect to an existing BrightstarDB store
enableOptimisticLocking bool OPTIONAL: If set to true optmistic locking will be applied to all entity updates
return System