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