LLBLGenProODataServiceBaseTLinqMetaData Class |
Namespace: SD.LLBLGen.Pro.ODataSupportClasses
public abstract class LLBLGenProODataServiceBase<TLinqMetaData> : DataService<TLinqMetaData>, IServiceProvider where TLinqMetaData : class, new()
The LLBLGenProODataServiceBaseTLinqMetaData type exposes the following members.
Name | Description | |
---|---|---|
LLBLGenProODataServiceBaseTLinqMetaData | Initializes a new instance of the LLBLGenProODataServiceBaseTLinqMetaData class |
Name | Description | |
---|---|---|
AllowSubTypeNavigators |
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.
| |
ContainerName |
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"
| |
ContainerNamespace |
Gets the container namespace. This is used in the $metadata response. By default it returns the namespace of the TLinqMetaData type.
| |
CurrentDataSource | Gets the data source instance currently being used to process the request. (Inherited from DataServiceTLinqMetaData.) | |
ExpandProvider |
Gets the expand provider.
| |
Metadata |
Gets the meta data of the model represented by the service
| |
ODataWriterFactory |
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.) | |
ProcessingPipeline | Gets an object that defines the events for the data service processing pipeline. (Inherited from DataServiceTLinqMetaData.) | |
QueryProvider |
Gets the query provider.
| |
UpdateProvider |
Gets the update provider.
|
Name | Description | |
---|---|---|
AttachHost | Attaches the data service host to the data service identified by the parameter host. (Inherited from DataServiceTLinqMetaData.) | |
CreateDataSource | Creates a data source of the template class that will be used by the data service. (Inherited from DataServiceTLinqMetaData.) | |
CreateInternalProvider |
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.) | |
CreateLinqMetaDataInstance |
Creates a new TLinqMetaData instance.
| |
CreateTransactionControllerInstance |
Creates a ready to use transaction controller. For Adapter, create a new DataAccessAdapter instance. For Selfservicing, create a new
Transaction instance.
| |
CreateUnitOfWorkInstance |
Creates a ready to use unit of work instance. For Adapter, create a new UnitOfWork2 instance. For SelfServicing, create a new
UnitOfWork instance.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetService | Returns service implementation. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HandleException | Called when an exception is raised while processing a request. (Inherited from DataServiceTLinqMetaData.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnStartProcessingRequest | 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.) | |
ProcessRequest | Processes an request. (Inherited from DataServiceTLinqMetaData.) | |
ProcessRequestForMessage | Processes an HTTP request. (Inherited from DataServiceTLinqMetaData.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |