コード例 #1
0
 public DapperDBContext(string connectionStringName)
 {
     _connectionFactory = IConnectionFactory.Create(connectionStringName);
     _connString        = connectionStringName;
     this._uow          = new UnitOfWork(this._connectionFactory);
     _builder           = _connectionFactory.CreateBuilder();
     this._dataBase     = new DataBaseService(this._connectionFactory, this._uow);
     //   this._executeQuery = new ExecuteQuery(this._connectionFactory);
 }