Click or drag to resize

LLBLGenProODataServiceBaseTLinqMetaData Class

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

Namespace:  SD.LLBLGen.Pro.ODataSupportClasses
Assembly:  SD.LLBLGen.Pro.ODataSupportClasses (in SD.LLBLGen.Pro.ODataSupportClasses.dll) Version: 5.6.0.0 (5.6.3)
Syntax
public abstract class LLBLGenProODataServiceBase<TLinqMetaData> : DataService, 
	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 propertyExpandProvider
Gets the expand provider.
Protected propertyMetadata
Gets the meta data of the model represented by the service
Protected propertyQueryProvider
Gets the query provider.
Protected propertyUpdateProvider
Gets the update provider.
Top
Methods
  NameDescription
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 methodGetService
Returns service implementation.
Top
See Also