コード例 #1
0
 public ServiceContext()
 {
     DatabaseConfig   = GetDefaultDatabaseConfig();
     ProtocolConfig   = GetDefaultProtocolConfig();
     ServiceLogger    = GetDefaultServiceLogger();
     ServiceDelegator = new TransactionDelegator(this);
 }
コード例 #2
0
 public ServiceContext(DbConfigEntity databaseConfig, ProtocolConfig protocolConfig, ILogger serviceLogger)
 {
     InitServiceContent(databaseConfig, protocolConfig, serviceLogger);
     ServiceDelegator = new TransactionDelegator(this);
 }