コード例 #1
0
ファイル: RetailSpuController.cs プロジェクト: tocg/iot.max
 public RetailSpuController(IDapperFactory dapperFactory,
                            IServices services)
 {
     _dapper   = dapperFactory.CreateClient();
     _services = services;
     _services.DapperClient = _dapper;
 }
コード例 #2
0
ファイル: InterInviteController.cs プロジェクト: tocg/iot.max
 public InterInviteController(IDapperFactory dapperFactory,
                              IWebHostEnvironment host,
                              IServices services)
 {
     _host     = host;
     _dapper   = dapperFactory.CreateClient();
     _services = services;
     _services.DapperClient = _dapper;
 }