Click or drag to resize

LLBLGenProODataServiceBaseTLinqMetaData Class

Base class implementation for WCF Data Services dataservice classes using LLBLGen Pro.
Inheritance Hierarchy
SystemObject
  System.Data.ServicesDataServiceTLinqMetaData
    SD.LLBLGen.Pro.ODataSupportClassesLLBLGenProODataServiceBaseTLinqMetaData

Namespace:  SD.LLBLGen.Pro.ODataSupportClasses
Assembly:  SD.LLBLGen.Pro.ODataSupportClasses (in SD.LLBLGen.Pro.ODataSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public abstract class LLBLGenProODataServiceBase<TLinqMetaData> : DataService<TLinqMetaData>, 
	IServiceProvider
where TLinqMetaData : class, new()

Type Parameters

TLinqMetaData
The type of the LinqMetaData class to use by the service

The LLBLGenProODataServiceBaseTLinqMetaData type exposes the following members.

Constructors
  NameDescription
Protected methodLLBLGenProODataServiceBaseTLinqMetaData
Initializes a new instance of the LLBLGenProODataServiceBaseTLinqMetaData class
Top
Properties
  NameDescription
Protected propertyAllowSubTypeNavigators
Gets a value indicating whether subtype navigators are allowed (true, default) or not. As ODataSupportClasses is compiled against an assembly which supports OData v3, the navigators of subtypes are by default allowed (OData v3 or higher). If you're communicating with clients on OData v2, override this property and return false.
Protected propertyContainerName
Gets the name of the container. This value is used for example when a proxy is generated by VS through Add Service Reference. The main context class generated will have the ContainerName. By default it returns "LLBLGenProODataService"
Protected propertyContainerNamespace
Gets the container namespace. This is used in the $metadata response. By default it returns the namespace of the TLinqMetaData type.
Protected propertyCurrentDataSource
Gets the data source instance currently being used to process the request.
(Inherited from DataServiceTLinqMetaData.)
Protected propertyExpandProvider
Gets the expand provider.
Protected propertyMetadata
Gets the meta data of the model represented by the service
Public propertyODataWriterFactory
Public func to wrap the current DataServiceODataWriter with custom one to intercept WCF Data Services calls to ODataWriter. This enables seeing the ODataFeed/ODataEntry/ ODataNavigationLink instances that gets passed to underlying instance.
(Inherited from DataServiceTLinqMetaData.)
Public propertyProcessingPipeline
Gets an object that defines the events for the data service processing pipeline.
(Inherited from DataServiceTLinqMetaData.)
Protected propertyQueryProvider
Gets the query provider.
Protected propertyUpdateProvider
Gets the update provider.
Top
Methods
  NameDescription
Public methodAttachHost
Attaches the data service host to the data service identified by the parameter host.
(Inherited from DataServiceTLinqMetaData.)
Protected methodCreateDataSource
Creates a data source of the template class that will be used by the data service.
(Inherited from DataServiceTLinqMetaData.)
Protected methodCreateInternalProvider
Creates metadataProvider and queryProvider internally. This method will be called when the class derived from DataServiceT does implement IServiceProvider, and T does not implement metadataPovider and queryProvider. Default implementation supports EF5 provider and Reflection provider.
(Inherited from DataServiceTLinqMetaData.)
Protected methodCreateLinqMetaDataInstance
Creates a new TLinqMetaData instance.
Protected methodCreateTransactionControllerInstance
Creates a ready to use transaction controller. For Adapter, create a new DataAccessAdapter instance. For Selfservicing, create a new Transaction instance.
Protected methodCreateUnitOfWorkInstance
Creates a ready to use unit of work instance. For Adapter, create a new UnitOfWork2 instance. For SelfServicing, create a new UnitOfWork instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetService
Returns service implementation.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleException
Called when an exception is raised while processing a request.
(Inherited from DataServiceTLinqMetaData.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnStartProcessingRequest
Called before processing each request. For batch requests, it is called one time for the top batch request and one time for each operation in the batch.
(Inherited from DataServiceTLinqMetaData.)
Public methodProcessRequest
Processes an request.
(Inherited from DataServiceTLinqMetaData.)
Public methodProcessRequestForMessage
Processes an HTTP request.
(Inherited from DataServiceTLinqMetaData.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also