ServiceConstructor<TService>.ConstructService Method
Called by a DatabaseSchemaProvider to create an instance of the specified TService type.
Namespace: Microsoft.Data.Schema
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function ConstructService As TService
public TService ConstructService()
public:
TService ConstructService()
member ConstructService : unit -> 'TService
public function ConstructService() : TService
Return Value
Type: TService
An instance of the specified type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ServiceConstructor<TService> Class