コード例 #1
0
 public SqlCmsSearchService(ISqlCmsDbContext sqlCmsDbContext)
 {
     this._sqlCmsDbContext = sqlCmsDbContext;
 }
コード例 #2
0
 private static ISqlCmsDbContext GetSqlCmsDbContext(string nameOrConnectionString = null)
 {
     return _sqlCmsDbContext ?? (_sqlCmsDbContext = new SqlCmsDbContext(nameOrConnectionString));
 }