Esempio n. 1
0
 public ServiceContext()
 {
     DatabaseConfig   = GetDefaultDatabaseConfig();
     ProtocolConfig   = GetDefaultProtocolConfig();
     ServiceLogger    = GetDefaultServiceLogger();
     ServiceDelegator = new TransactionDelegator(this);
 }
Esempio n. 2
0
 public ServiceContext(DbConfigEntity databaseConfig, ProtocolConfig protocolConfig, ILogger serviceLogger)
 {
     InitServiceContent(databaseConfig, protocolConfig, serviceLogger);
     ServiceDelegator = new TransactionDelegator(this);
 }