Пример #1
0
        public AttributeInformation(PXContext pxContext)
        {
            Context                  = pxContext.CheckIfNull(nameof(pxContext));
            BoundBaseTypes           = GetBoundBaseTypes(Context).ToImmutableHashSet();
            TypesContainingIsDBField = GetTypesContainingIsDBField(Context).ToImmutableDictionary();

            _eventSubscriberAttribute       = Context.AttributeTypes.PXEventSubscriberAttribute;
            _dynamicAggregateAttribute      = Context.AttributeTypes.PXDynamicAggregateAttribute;
            _aggregateAttribute             = Context.AttributeTypes.PXAggregateAttribute;
            _defaultAttribute               = Context.AttributeTypes.PXDefaultAttribute;
            _pxDBLocalizableStringAttribute = Context.FieldAttributes.PXDBLocalizableStringAttribute;
        }