Skip to main content

DataStoreService Members

The base class for WCF services providing access to data directly via data store providers (IDataStore implementors).

Constructors

Name Description
DataStoreService(IDataStore) Initializes a new instance of the DataStoreService class with a data store provider, which supplies data for the service.

Methods

Name Description
Do(String, Object) Executes a specified command with specific parameters and returns the operation result.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetAutoCreateOption() Returns which operations are performed when a data store is accessed for the first time. This method delegates its call to get the corresponding option value of a data store passed as provider to the constructor.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ModifyData(ModificationStatement[]) Updates data in a data store using specified modification statements and returns the operation result. This method delegates its call to the corresponding method of a data store passed as provider to the constructor.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SelectData(SelectStatement[]) Fetches data from a data store using specified query statements and returns the operation result. This method delegates its call to the corresponding method of a data store passed as provider to the constructor.
ToString() Returns a string that represents the current object. Inherited from Object.
UpdateSchema(Boolean, DBTable[]) Updates a data store’s schema according to specified settings and returns the operation result. This method delegates its call to the corresponding method of a data store passed as provider to the constructor.
WarpSelectData(SelectStatement[]) Reserved for future use.

Events

Name Description
GlobalServiceExceptionThrown static Occurs when any operation of any ServiceBase instance fails. Inherited from ServiceBase.
ServiceExceptionThrown Occurs when any operation of ServiceBase fails. Inherited from ServiceBase.
See Also