@easyquery/enterprise 7.2.4-rc01 → 7.2.4-rc02

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -451,14 +451,14 @@ var query_ex_extends = (undefined && undefined.__extends) || (function () {
451
451
 
452
452
  var QueryEx = /** @class */ (function (_super) {
453
453
  query_ex_extends(QueryEx, _super);
454
- function QueryEx(model) {
455
- return _super.call(this, model) || this;
454
+ function QueryEx(model, options) {
455
+ return _super.call(this, model, null, options) || this;
456
456
  }
457
457
  QueryEx.prototype.isEx = function () {
458
458
  return lcv.__kt > 1;
459
459
  };
460
460
  QueryEx.prototype.createSubQuery = function () {
461
- return new QueryEx(this.model);
461
+ return new QueryEx(this.model, { context: this.context });
462
462
  };
463
463
  QueryEx.prototype.createCondition = function (tag) {
464
464
  if (tag === void 0) { tag = external_easyqueryCore_.CondTag.Simple; }
@@ -7847,7 +7847,7 @@ external_easyqueryCore_.EqContext.prototype.useEnterprise = function (keyOrInitC
7847
7847
  if (lcv.__kt > 1) {
7848
7848
  var services = _this.getServices();
7849
7849
  services.registerDataModelResolver(function (context) { return new DataModelEx(); });
7850
- services.registerQueryResolver(function (context) { return new QueryEx(context.getModel()); });
7850
+ services.registerQueryResolver(function (context) { return new QueryEx(context.getModel(), { context: context }); });
7851
7851
  services.registerQueryStorageResolver(function (context) { return new EqServerQueryStorage(context); });
7852
7852
  services.registerAggregatesCalculator(function (context) { return new DataTableAggregatesCalculator(context); });
7853
7853
  if (lcv.__kt === 2) {