IceNetApplicationServiceAdapterTService Class | 
 
            An Adapter that enables usage of IceNetService implementations directly from
            within an IceNetApplication-based application, without generated code 
            from the Service Builder. The service uses the ice.NET infrastructure provided
            by the IceNetApplication configuration. Therefore, the service methods
            must be called within a regular IceNetApplication.AccessRepository()
            scope (see example).
            
Inheritance HierarchySystemObject
  PDTec.IceNet.Sdk.ServiceIceNetApplicationServiceAdapterTService
 
    Namespace: 
   PDTec.IceNet.Sdk.Service
    Assembly:
   PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntaxpublic static class IceNetApplicationServiceAdapter<TService>
where TService : new(), Object
Type Parameters
- TService
 - The service implementation.
 
The IceNetApplicationServiceAdapterTService type exposes the following members.
Properties| 
								 
							 | Name | Description | 
|---|
   | Instance | 
            Gets a service instance that is connected to the ice.NET infrastructure provided
            by the IceNetApplication configuration.
              | 
Top
Examplesusing (IceNetApplication.AccessRepository())
{
    r0 = IceNetApplicationServiceAdapter<MyService>.Instance.MyMethod(p1, p2);
}
See Also