Table of Contents

Class DataService<T>

Namespace
LinqToDB.Remote
Assembly
linq2db.dll
public class DataService<T> : DataService<T>, IRequestHandler, IServiceProvider where T : IDataContext

Type Parameters

T
Inheritance
DataService<T>
Implements
Inherited Members
Extension Methods

Constructors

DataService()

public DataService()

DataService(DataOptions, MappingSchema)

public DataService(DataOptions options, MappingSchema mappingSchema)

Parameters

options DataOptions
mappingSchema MappingSchema

Methods

GetService(Type)

Gets the service object of the specified type.

public object? GetService(Type serviceType)

Parameters

serviceType Type

An object that specifies the type of service object to get.

Returns

object

A service object of type serviceType.-or- null if there is no service object of type serviceType.