• Documentation
  • Knowledgebase
Show / Hide Table of Contents
  • ConsoleTestApp
    • AppContext
    • Program
    • TestService
    • UserTestTrigger
  • ConsoleTestApp.Domain
    • IListAsyncTestService
    • ISeedService
    • ITestService
  • ConsoleTestApp.Infrastructure
    • AppContextFactory
  • ConsoleTestApp.Misc
    • AppConfigurationExtensions
    • CountryCodeEnumGenerator
  • ConsoleTestApp.Models
    • IFrontendModel
    • MvcModel
  • ConsoleTestApp.Service
    • AppUserService
    • ListAsyncTestService
    • SeedService
    • TenantConsoleResolver
  • PTS
    • ApplicationConfiguration
    • ArrayHelper
    • AssemblyLoader
    • BooleanResultHelper
    • ByteHelper
    • CharHelper
    • CollectionHelper
    • ConvertibleHelper
    • ConvertibleStructHelper
    • DataLogic
    • DateTimeCollectionHelper
    • DateTimeHelper
    • DateTimeQueryableExtensions
    • DateTimeRangeHelper
    • DateTimeToRangeExtensions
    • DbContextOptionsBuilderServiceHelper
    • DbContextOptionsEntityBindingExtensions
    • DbContextOptionsLoggerExtensions
    • DbContextOptionsServiceHelper
    • DecimalHelper
    • DictionaryHelper
    • EntityAffinityDbContextOptionsExtensions
    • EntityAffinityExtensions
    • EntityEventsDbContextExtensions
    • EntityEventsDbContextOptionsExtensions
    • EntityFrameworkCoreExtensions
    • EntityPropertyTranslationHelper
    • EntityServiceAccessorEventHelper
    • EnumFlagHelper
    • EnumHelper
    • Float64Helper
    • GenericTypeHelper
    • GlobalizationStringExtensions
    • HashSetHelper
    • IConfigurationProvider
    • IncludeContainersDbContextExtenions
    • IncludeQueryable
    • InitializeOnStartAttribute
    • Integer32Helper
    • Integer64Helper
    • ITimeProvider
    • ListHelper
    • ObjectExceptionHelper
    • ObjectHelper
    • RelatedToQueryable
    • RequireQueryable
    • ResultType
    • ServiceCollectionDbServiceExtensions
    • ServiceCollectionDiExtensions
    • ServiceCollectionModuleExtensions
    • ServiceProviderDiExtensions
    • StaticInitializer
    • StreamHelper
    • StreetAddress
    • StringArrayHelper
    • StringHelper
    • StructHelper
    • SystemTime
    • TenancyDbContextOptionsExtensions
    • ThenIncludeQueryable
    • ThenRequireQueryable
    • Time
    • TimeHelper
    • TimeRange
    • TimeSpanHelper
    • TypeCodeHelper
    • TypeHelper
    • UnsignedInteger32Helper
    • UriHelper
    • UtcTimeProvider
  • PTS.BusinessCore.Apex.Common
    • ApexCore
  • PTS.BusinessCore.Apex.Domain
    • IApexCore
  • PTS.BusinessCore.Bravo.Domain
    • IBravoCore
  • PTS.BusinessCore.Colossus.Domain
    • IColossusCore
  • PTS.BusinessCore.Dyno.Domain
    • IDynoCore
  • PTS.BusinessCore.Enigma.Domain
    • IEnigmaCore
  • PTS.Chronometry
    • AvailabilityStatus
    • ITimeRestricted
    • RepeatPeriod
    • RepeatPeriodHelper
    • TimeInterval
    • WeekPart
  • PTS.Collections
    • CollectionConvertor
    • CollectionQueryableExtensions
    • ConcurrentHashSet<T>
    • IPagedList
    • IPagedList<T>
    • MultiDictionary<TKey1, TKey2, TValue>
    • PagedList<T>
    • PartitionedHashSet
    • PartitionedHashSet<Tkey, TValue>
    • PartitionedList<Tkey, TValue>
    • PartitionedList<Tkey1, TKey2, TValue>
  • PTS.Concurrency
    • ExecutionCallContextProvider
    • ILogicalDataContainer
    • LocalDataContainer
    • StaticDictionary<TKey, TValue>
    • WeakReferenceTable<TKey, TValue>
  • PTS.DataStructures
    • Dto
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8, T9>
    • Dto<T1, T2, T3, T4, T5, T6, T7, T8>
    • Dto<T1, T2, T3, T4, T5, T6, T7>
    • Dto<T1, T2, T3, T4, T5, T6>
    • Dto<T1, T2, T3, T4, T5>
    • Dto<T1, T2, T3, T4>
    • Dto<T1, T2, T3>
    • Dto<T1, T2>
    • Dto<T1>
    • IDto
    • IHasPrimaryItem<T1>
    • ILot
    • Lot<TKey, TValue>
    • Pile<TValue>
  • PTS.DependencyInjection
    • IParentServiceProvider
    • ISeedWork
    • ISeedWork<TService>
    • IServiceProviderAccessor
    • IStartupDependency
  • PTS.DependencyInjection.Common
    • ParentServiceProvider
    • ServiceProviderAccessor
  • PTS.Diagnostics
    • LogAction
    • LogCategory
    • NoticeStatus
    • NoticeType
    • NoticeTypeHelper
    • RuntimeLogs
    • SystemMessage
    • SystemMessageList
  • PTS.DomainFramework.Common
    • AggregateRootService<TAggregateRoot, TAggregate>
    • SingleRepositoryService<TEntity>
    • TriggerHandler<TEntity>
    • UnitOfWorkService
  • PTS.DomainFramework.Domain
    • IDomainAggregateRoot
    • IDomainExtension
    • IDomainRoot
    • IRepository
    • IRepository<TEntity>
    • IRepositoryFactory
    • ITriggerHandler
    • ITriggerHandler<TEntity>
    • IUnitOfWork
    • RepositoryAction
    • ServiceCollectionTriggerExtensions
    • TriggerEvent
  • PTS.DomainFramework.Infrastructure
    • IHasDbContext
    • Repository
    • Repository<TEntity>
    • RepositoryFactory
    • UnitOfWork
  • PTS.EntityLayer
    • EntityAction
    • GuidKeyGenerator
  • PTS.EntityLayer.Affinity
    • EntityAffinityProvider
    • EntityAffinityService
    • IEntityAffinityService
  • PTS.EntityLayer.Binding
    • EntityAutoBinder
    • EntityBinder
    • EntityBinding<TEntity>
    • EntityBindingBinder
    • EntityBindingService
    • EntityClassBinder
    • EntityInterfaceBinder
    • IEntityBinder
    • IEntityBinding
    • IEntityBindingService
    • OverrideAttribute
    • SkipAttribute
    • TypeBinder
  • PTS.EntityLayer.Events
    • EntityEvent
    • EntityEventBinder
    • EntityEventCache
    • EntityEventHandler
    • EntityEventHandler<TEntity>
    • EntityEventSender<TValue>
    • EntityEventService
    • IEntityEventSender
    • IEntityEventService
    • PropertyState
    • SkipAttribute
  • PTS.EntityLayer.Extensibility
    • DbContextOptionsServiceCollectionExtension
    • DbContextOptionsServiceCollectionExtensionInfo
    • EntityService
    • EntityServiceCollection
    • EntityServiceScope
    • ExtensibleDbContext
    • IEntityServiceAccessor
    • IEntityServiceAccessor<TEntity>
    • IEntityServiceCollection
    • IEntityServiceProvider
    • IEntityServiceScope
    • IModelBuilderService
    • ModelBuilderService
  • PTS.EntityLayer.Logging
    • ConsoleLogger
    • QueryLoggerProvider
  • PTS.EntityLayer.Tenancy
    • AssignedTenant
    • ITenancyService
    • ITenantResolver
    • ParentScopeTenantResolver
    • TenancyService
    • TenantBinder
    • TenantBinding<TEntity>
  • PTS.Files
    • FileData
    • FileHelper
  • PTS.Globalization
    • CountryCode
    • CountryCodeHelper
    • CountryLocale
    • CountryLocaleProvider
    • CultureInfoHelper
    • CultureInfoProvider
    • CurrencyCode
    • CurrencyCodeHelper
    • DateFormat
    • DateFormatDefinition
    • DateFormatHelper
    • IanaAttribute
    • IbanHelper
    • LanguageCode
    • LanguageCodeHelper
    • LanguageCodeProvider
    • PhoneFormatDefinition
    • PhoneFormatHelper
    • PhoneFormatProvider
    • RegionInfoHelper
    • TimeZoneCode
    • TimeZoneCodeHelper
    • TimeZoneDateTimeHelper
    • TimeZoneTimeHelper
  • PTS.Includers
    • IIncluderExpressionService
    • IncludeOptions
    • Includer
    • Includer<TPrimary, TRigt>
    • Includer<TPrimary>
    • IncluderExpressionStaticProvider
    • IncluderParameters
    • RelatedIncluder<TPrimary, TLeft, TRigt>
    • ThenIncluder<TPrimary, TLeft, TRigt>
  • PTS.Includers.Infrastructure
    • ForeignKeyMap
    • ForeignKeyService
    • IForeignKeyService
    • IncludeExpressionBuilder
    • IncludeExpressionService
  • PTS.Modules._ModuleTemplate.Domain
    • Entity
  • PTS.Modules._ModuleTemplate.Ifrastructure
    • EntityBinding
  • PTS.Modules.Accounts.Domain
    • Account
    • IAccountService
  • PTS.Modules.Albums.Domain
    • IAlbumService
  • PTS.Modules.Classifications.Common
    • ClassificationService
  • PTS.Modules.Classifications.Domain
    • Classification
    • FilterOption
    • IClassificationsService
  • PTS.Modules.Classifications.Infrastructure
    • ClassificationBinding
  • PTS.Modules.Comments.Domain
    • ICommentService
  • PTS.Modules.CommerceComponent
    • CommissionMethod
    • DocumentStatus
    • IAmount
    • ICommerceComponentService
    • IDeclaration
    • IStatement
    • ITaxRecord
    • ITaxSubject
    • ITrader
    • TraderType
    • VatRegistrationType
    • VatSource
    • VatType
  • PTS.Modules.CommerceComponent.Common
    • CommerceComponentService
  • PTS.Modules.Contracts.Domain
    • ContractSignature
    • ContractStatus
    • ContractType
    • IContractService
  • PTS.Modules.DateTimeRangeComponent
    • DateTimeRange
  • PTS.Modules.Devices.Common
    • DeviceService
  • PTS.Modules.Devices.Domain
    • Application
    • Device
    • DeviceApp
    • IApplicationData
    • IDeviceData
    • IDeviceService
    • PlatformType
  • PTS.Modules.Devices.Extensions
    • ApplicationExtensions
    • DeviceExtensions
  • PTS.Modules.Devices.Infrastructure
    • ApplicationBinding
    • DeviceAppBinding
    • DeviceBinding
  • PTS.Modules.DistributionComponent
    • GdsRole
    • IGdsRecord
  • PTS.Modules.Domain
    • IBusinessComponent
    • IBusinessCore
    • IHasModule<TModule>
  • PTS.Modules.DynamicContents.Domain
    • DynamicContent
    • DynamicContentType
    • IDynamicContentService
  • PTS.Modules.DynamicContents.Infrastructure
    • DynamicContentBinding
  • PTS.Modules.DynamicTexts.Common
    • DynamicTextService
  • PTS.Modules.DynamicTexts.Domain
    • DynamicText
    • IDynamicTexts
    • TextType
  • PTS.Modules.DynamicTexts.Infrastructure
    • DynamicTextBinding
  • PTS.Modules.DynamicTexts.Tests.IntegrationTests
    • CultureInfoTests
    • FormattingTests
  • PTS.Modules.EntityTranslationComponent
    • EntityTranslation<TEntity>
    • IEntityPropertyTranslation<TEntity>
    • IEntityTranslationService<TBaseEntity, TTranslation>
    • IPropertyTranslation
    • PropertyTranslation
    • PropertyTranslationCollection
    • PropertyTranslationKey
  • PTS.Modules.EntityTranslationComponent.Common
    • EntityTranslationService<TBaseEntity, TTranslation>
  • PTS.Modules.EntityTranslationComponent.Infrastructure
    • EntityTranslationBinding<TEntity, TTranslation>
  • PTS.Modules.Events.Common
    • EventMemberTriggerService
    • EventTriggerService
  • PTS.Modules.Events.Domain
    • Event
    • EventMember
    • EventMemberStatus
    • EventRole
    • EventState
    • EventTime
    • EventTimeStatus
    • EventTimeType
    • EventType
    • IEventService
    • Privacy
  • PTS.Modules.Events.Infrastructure
    • EventBinding
    • EventMemberBinding
    • EventTimeBinding
  • PTS.Modules.Files.Domain
    • File
    • FileLink
    • FileRecordType
    • FileStatus
  • PTS.Modules.Files.Infrastructure
    • FileBinding
    • FileLinkBinding
  • PTS.Modules.Gds.Domain
    • RequestStatus
    • SyncStatus
    • TypeMeta
  • PTS.Modules.Hostnames.Common
    • HostnameService
  • PTS.Modules.Hostnames.Domain
    • Hostname
    • HostnameStatus
    • IHostnameService
  • PTS.Modules.Hostnames.Infrastructure
    • HostnameBinding
  • PTS.Modules.Hostnames.Tests.IntegrationTests
    • CaseSensitivityTests
  • PTS.Modules.Identities.Common
    • IdentityService
  • PTS.Modules.Identities.Domain
    • Identity
    • IdentityLocale
    • IIdentityService
  • PTS.Modules.Identities.Infrastructure
    • IdentityBinding
    • IdentityLocaleBinding
  • PTS.Modules.IdentitySettingExtension
    • SettingService
  • PTS.Modules.IdentitySettingExtension.Common
    • SettingTriggerService
  • PTS.Modules.IdentitySettingExtension.Domain
    • ISettingService
    • Setting
    • SettingType
  • PTS.Modules.IdentitySettingExtension.Infrastructure
    • SettingBinding
  • PTS.Modules.IdentityTokenExtension.Common
    • TokenService
    • TokenTrigger
  • PTS.Modules.IdentityTokenExtension.Domain
    • ITokenService
    • Token
    • TokenStatus
    • TokenType
    • TokenValueGenerator
  • PTS.Modules.IdentityTokenExtension.Infrastructure
    • TokenEntityBinding
  • PTS.Modules.IdentityTranslationExtension
    • IdentityTranslationService
  • PTS.Modules.IdentityTranslationExtension.Domain
    • IdentityTranslation
    • IIdentityTranslationService
  • PTS.Modules.IdentityTranslationExtension.Infrastructure
    • IdentityTranslationBinding
  • PTS.Modules.Instances.Domain
    • DataServer
    • DataServerLink
    • DataServerLinkType
    • DataServerPlatform
    • DataServerStatus
    • Instance
    • InstanceIdentityLink
    • InstanceLinkType
    • InstanceStatus
    • OnboardingStatus
  • PTS.Modules.Instances.Infrastructure
    • DataServerBinding
    • DataServerLinkBinding
    • InstanceBinding
    • InstanceIdentityLinkBinding
  • PTS.Modules.InternationalComponent
    • ILocale
    • Locale
    • LocalizedText
  • PTS.Modules.Invoices.Common
    • InvoiceService
  • PTS.Modules.Invoices.Domain
    • IInvoiceService
    • Invoice
    • InvoiceBillingInfo
    • InvoiceBillingInfoType
    • InvoiceItem
    • InvoiceStatus
  • PTS.Modules.Invoices.Infrastructure
    • InvoiceBillingInfoBinding
    • InvoiceBinding
    • InvoiceItemBinding
  • PTS.Modules.Invoices.Tests.IntegrationTests
    • InvoiceItemsMoneyCalculationsTests
  • PTS.Modules.Invoices.Tests.UnitTests
    • InvoiceCalculationUnitTests
  • PTS.Modules.LinkComponent
    • DistinctLink<TSource, TTarget, TDiscriminator>
    • IDistinctLink<TSource, TTarget, TDiscriminator>
    • ILink<TSource, TTarget>
    • Link<TSource, TTarget>
    • LinkStatus
    • LinkUpdateModel
  • PTS.Modules.LinkComponent.Infrastructure
    • DistinctLinkBindingHelper<TSource, TTarget, TDiscriminator>
  • PTS.Modules.Logins.Common
    • LoginService
  • PTS.Modules.Logins.Domain
    • ILoginService
    • Login
  • PTS.Modules.Logins.Infrastructure
    • LoginBinding
  • PTS.Modules.Logins.Tests.IntegrationTests
    • UsernameUniquenessTests
  • PTS.Modules.Logins.Tests.UnitTests
    • PasswordHashingUnitTests
  • PTS.Modules.LogPictureAggregate.Domain
    • SystemLogPicture
    • SystemLogPictureType
  • PTS.Modules.LogPictureAggregate.Infrastructure
    • SystemLogPictureBinding
  • PTS.Modules.Logs.Domain
    • FollowUpStatus
    • LogAction
    • LogCategory
    • LogType
    • SystemLog
  • PTS.Modules.Logs.Infrastructure
    • SystemLogBinding
  • PTS.Modules.MerchandiseComponent
    • DeliveryStatus
    • IMerchandiseComponent
    • ItemComposition
    • ItemType
    • RentalStatus
    • SaleStatus
  • PTS.Modules.Messages.Common
    • ConversationMessageTriggerService
    • ConversationTriggerService
  • PTS.Modules.Messages.Domain
    • Conversation
    • ConversationMember
    • ConversationMemberStatus
    • ConversationMessage
    • ConversationStatus
    • MemberStatus
    • MessageStatus
    • MessageType
    • ReadStatus
  • PTS.Modules.Messages.Infrastructure
    • ConversationBinding
    • ConversationMemberBinding
    • ConversationMessageBinding
  • PTS.Modules.Notifications.Common
    • NotificationPayloadTriggerService
    • NotificationProfileLinkTriggerService
    • NotificationService
    • NotificationTriggerService
  • PTS.Modules.Notifications.Domain
    • INotificationService
    • Notification
    • NotificationAttachment
    • NotificationAttachmentType
    • NotificationPayload
    • NotificationPayloadType
    • NotificationProfileLink
    • NotificationProfileLinkType
    • NotificationStatus
    • NotificationTemplate
    • NotificationTemplateGroup
    • NotificationTemplateGroupTiming
    • NotificationTemplateItem
    • NotificationType
    • ReadStatus
  • PTS.Modules.Notifications.Infrastructure
    • NotificationAttachmentBinding
    • NotificationBinding
    • NotificationPayloadBinding
    • NotificationProfileLinkBinding
    • NotificationTemplateBinding
    • NotificationTemplateGroupBinding
    • NotificationTemplateGroupTimingBinding
    • NotificationTemplateItemBinding
  • PTS.Modules.OrderItemEventAggregate.Domain
    • OrderItemEvent
    • OrderItemEventType
  • PTS.Modules.OrderItemEventAggregate.Infrastructure
    • OrderItemEventBinding
  • PTS.Modules.OrderNotificationAggregate.Domain
    • OrderNotification
  • PTS.Modules.OrderNotificationAggregate.Infrastructure
    • OrderNotificationBinding
  • PTS.Modules.Orders.Common
    • OrderService
  • PTS.Modules.Orders.Domain
    • IOrderService
    • MarketingSource
    • Order
    • OrderInvoicingMethod
    • OrderInvoicingStatus
    • OrderItem
    • OrderItemPricing
    • OrderItemStatus
    • OrderItemType
    • OrderStatus
    • OrderType
    • PriceUnitCalculationMethod
  • PTS.Modules.Orders.Infrastructure
    • OrderBinding
    • OrderItemBinding
    • OrderItemPricingBinding
  • PTS.Modules.OrderTransactionAggregate.Common
    • OrderTransactionService
  • PTS.Modules.OrderTransactionAggregate.Domain
    • IOrderTransactionService
    • OrderTransaction
    • OrderTransactionAggregateRoot
  • PTS.Modules.OrderTransactionAggregate.Infrastructure
    • OrderTransactionAggregateRootBinding
    • OrderTransactionBinding
  • PTS.Modules.PaymentComponent
    • PaymentMethod
    • PaymentStatus
    • RefundStatus
  • PTS.Modules.PhysicalAddresses.Domain
    • IHasCoordinates
    • IPhysicalAddress
    • IPlacesService
    • LocationType
    • MailingAddressType
    • PhysicalAddress
  • PTS.Modules.PhysicalAddresses.Infrastructure
    • PhysicalAddressBinding
  • PTS.Modules.Pictures
    • IPictureService
  • PTS.Modules.Pictures.Common
    • PictureService
  • PTS.Modules.Pictures.Domain
    • Picture
  • PTS.Modules.Pictures.Infrastructure
    • PictureBinding
  • PTS.Modules.ProductPriceEventAggregate.Domain
    • ProductPriceEvent
  • PTS.Modules.ProductPriceEventAggregate.Infrastructure
    • ProductPriceEventBinding
  • PTS.Modules.Products.Common
    • ProductService
  • PTS.Modules.Products.Domain
    • IPriceCalculationProvider
    • IPriceModel
    • IProductService
    • PriceChargeType
    • PriceCommission
    • PriceLevel
    • PriceModel
    • PriceOrigin
    • PricePeriod
    • PriceStatus
    • PriceType
    • PriceUnit
    • Product
    • ProductPrice
  • PTS.Modules.Products.Infrastructure
    • ProductBinding
    • ProductPriceBinding
  • PTS.Modules.ProfileAddressAggregate.Common
    • ProfileAddressService
  • PTS.Modules.ProfileAddressAggregate.Domain
    • IProfileAddressService
    • ProfileAddress
  • PTS.Modules.ProfileAddressAggregate.Infrastructure
    • ProfileAddressBinding
  • PTS.Modules.ProfileAliasExtension.Common
    • ProfileAliasService
    • ProfileAliasTrigger
  • PTS.Modules.ProfileAliasExtension.Domain
    • IProfileAliasService
    • ProfileAlias
  • PTS.Modules.ProfileAliasExtension.Infrastructure
    • ProfileAliasBinding
  • PTS.Modules.ProfileClassificationAggregate
    • ProfileClassificationService
  • PTS.Modules.ProfileClassificationAggregate.Domain
    • IProfileClassificationAggregateService
    • ProfileClassification
    • ValueType
  • PTS.Modules.ProfileClassificationAggregate.Infrastructure
    • ProfileClassificationBinding
  • PTS.Modules.ProfilePictureAggregate.Common
    • ProfilePictureService
  • PTS.Modules.ProfilePictureAggregate.Domain
    • IProfilePictureService
    • PictureType
    • ProfilePicture
  • PTS.Modules.ProfilePictureAggregate.Infrastructure
    • ProfilePictureBinding
  • PTS.Modules.ProfilePostClassificationAggregate.Common
    • ProfilePostClassificationService
    • ProfilePostClassificationTrigger
  • PTS.Modules.ProfilePostClassificationAggregate.Domain
    • IProfilePostClassificationService
    • ProfilePostClassification
  • PTS.Modules.ProfilePostClassificationAggregate.Infrastructure
    • ProfilePostClassificationBinding
  • PTS.Modules.ProfilePostExtension.Domain
    • ProfilePost
  • PTS.Modules.ProfilePostExtension.Infrastructure
    • ProfilePostBinding
  • PTS.Modules.Profiles.Common
    • ProfileLinkTriggerService
    • ProfileService
  • PTS.Modules.Profiles.Domain
    • Contact
    • ContactType
    • IProfileService
    • Profile
    • ProfileLink
    • ProfileLinkType
    • ProfileTypeLink
    • ProfileTypeLinkStatus
    • VerificationStatus
  • PTS.Modules.Profiles.Infrastructure
    • ContactBinding
    • ProfileBinding
    • ProfileLinkBinding
    • ProfileTypeLinkBinding
  • PTS.Modules.ProfileSeoExtension
    • ISeoData
  • PTS.Modules.ProfileSeoExtension.Common
    • ProfileSeoService
  • PTS.Modules.ProfileSeoExtension.Domain
    • IProfileSeoService
    • ProfileSeo
    • ProfileSeoExtensions
  • PTS.Modules.ProfileSeoExtension.Infrastructure
    • ProfileSeoBinding
  • PTS.Modules.ResultComponent
    • IResult
    • IValueResult<TValue>
    • Result
    • ResultSet
    • ValueResult<TValue>
  • PTS.Modules.StockItems.Common
    • StockItemTriggerService
  • PTS.Modules.StockItems.Domain
    • ItemProperty
    • MaintenanceStatus
    • ProductionStatus
    • PurchasingStatus
    • RentItemType
    • RepairStatus
    • StockItem
    • StockStatus
    • WearStatus
  • PTS.Modules.StockItems.Infrastructure
    • StockItemBinding
  • PTS.Modules.TenancyComponent
    • InstanceRole
  • PTS.Modules.Tests.Builders
    • IBuilder<T>
  • PTS.Modules.Tests.Builders.Accounts
    • AccountBuilder
    • IAccountBuilder
  • PTS.Modules.Tests.Builders.DynamicTexts
    • DynamicTextBuilder
    • IDynamicTextBuilder
  • PTS.Modules.Tests.Builders.Hostnames
    • HostnameBuilder
    • IHostnameBuilder
  • PTS.Modules.Tests.Infrastructure
    • ConnectionStringProvider
    • TestingDbContext
    • TestingDbContextFactory
    • TestingInMemoryUnitOfWork
    • TestingUnitOfWork
    • TestingUnitOfWorkFactory
  • PTS.Modules.Tests.Infrastructure.Extensions
    • IRepositoryExtensions
  • PTS.Modules.TimeComponent
    • Frequency
  • PTS.Modules.Transactions.Common
    • MoneyAccountActivityTriggerService
    • MoneyAccountTriggerService
    • TransactionService
    • TransactionTriggerService
  • PTS.Modules.Transactions.Domain
    • BalanceType
    • CaptureStatus
    • ITransactionService
    • MoneyAccount
    • MoneyAccountActivity
    • MoneyAccountStatus
    • MoneyAccountType
    • MoneyActivityType
    • PaymentProviderStatus
    • PaymentProviderType
    • RecurringTransaction
    • RecurringTransactionStatus
    • RefundStatus
    • Transaction
    • TransactionCodes
    • TransactionInfo
    • TransactionInfoType
    • TransactionMethod
    • TransactionStatus
    • TransactionType
  • PTS.Modules.Transactions.Infrastructure
    • MoneyAccountActivityBinding
    • MoneyAccountBinding
    • RecurringTransactionBinding
    • TransactionBinding
    • TransactionInfoBinding
  • PTS.Modules.Translations.Common
    • TranslationService
  • PTS.Modules.Translations.Domain
    • ITranslationService
    • TranslatedEntity<TEntity>
    • TranslatedProperty
    • Translation
  • PTS.Modules.Translations.Infrastructure
    • TranslationBinding
  • PTS.Modules.UrlRedirects.Common
    • UrlRedirectTriggerService
  • PTS.Modules.UrlRedirects.Domain
    • UrlRedirect
  • PTS.Modules.UrlRedirects.Infrastructure
    • UrlRedirectBinding
  • PTS.Modules.Users
    • Gender
  • PTS.Modules.Users.Common
    • UserService
    • UserTriggerService
  • PTS.Modules.Users.Domain
    • IUserService
    • User
    • UserStatus
  • PTS.Numbers
    • NumericBaseConvertor
  • PTS.Numbers.UnitTests
    • NumericBaseConvertorTests
  • PTS.Physics
    • MeasurementCultureAttribute
    • MeasurementTypeAttribute
    • PhysicalProperty
    • PhysicalUnit
    • PhysicalUnitCulture
  • PTS.Physics.UnitTests
    • UniqueEnumValuesTest
  • PTS.Randomization
    • Randomizer
    • RandomSequenceComponents
  • PTS.Records
    • IHasGuid
    • IIdRecord
    • IOwnedRecord
    • SequentialGuid
    • State
  • PTS.Reflection
    • CustomAttributeHelper
    • GenericMethodInfoHelper
    • GenericTypeHelper
    • ObjectFactory
    • ReflectionTypeHelper
    • TypeMapper
  • PTS.Spatial
    • Pivot<T>
    • Point2D<T>
    • Point3D<T>
    • SpatialHelper
    • Square<T>
  • PTS.Text
    • PersonalNameHelper
    • RandomWord
    • Slugifier
    • Transliterator
  • PTS.Text.UnitTests
    • PersonalNameHelperTests
    • RandomWordTests
    • SlugifierTests
    • TransliteratorTests
  • PTS.Workers
    • IJob
    • Interval
    • Job
    • JobAsync
    • JobManager
    • JobTiming

ServiceCollectionDbServiceExtensions Class

Namespace: PTS
Assembly: PTS.DomainFramework.Infrastructure.dll

Service scoping extension methods for Microsoft.Extensions.DependencyInjection.IServiceCollection

Syntax
public static class ServiceCollectionDbServiceExtensions
Inheritance
System.Object
ServiceCollectionDbServiceExtensions

Methods

AddInfrastructure<TContext>(IServiceCollection, DbContextOptions<TContext>, ServiceLifetime)

Registers the given context and all its inherited base types and implemented interfaces as services.

Declaration
public static IServiceCollection AddInfrastructure<TContext>(this IServiceCollection serviceCollection, DbContextOptions<TContext> options, ServiceLifetime lifeTime = ServiceLifetime.Scoped)
    where TContext : DbContext, IEntityServiceProvider
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection

The collection to add services to..

Microsoft.EntityFrameworkCore.DbContextOptions<TContext> options

The options for the DbContext.

Microsoft.Extensions.DependencyInjection.ServiceLifetime lifeTime

Lifetime of the context service.

Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

The same service collection so that multiple calls can be chained.

Type Parameters
Name Description
TContext

The type of the context.

Remarks

Using this method is higly recommended in applications with multiple DbContext generations to ensure dependency injection service compatibility accross assemlies.

AddInfrastructure<TContext>(IServiceCollection, Action<DbContextOptionsBuilder<TContext>>, ServiceLifetime)

Registers the given context and all its inherited base types and implemented interfaces as services.

Declaration
public static IServiceCollection AddInfrastructure<TContext>(this IServiceCollection serviceCollection, Action<DbContextOptionsBuilder<TContext>> optionsAction, ServiceLifetime lifeTime = ServiceLifetime.Scoped)
    where TContext : DbContext, IEntityServiceProvider
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection

The collection to add services to.

System.Action<Microsoft.EntityFrameworkCore.DbContextOptionsBuilder<TContext>> optionsAction

Action method performing the context options configuration.

Microsoft.Extensions.DependencyInjection.ServiceLifetime lifeTime

Lifetime of the context service.

Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

The same service collection so that multiple calls can be chained.

Type Parameters
Name Description
TContext

The type of the context.

Remarks

Using this method is higly recommended in applications with multiple DbContext generations to ensure dependency injection service compatibility accross assemlies.

AddInfrastructure<TContext>(IServiceCollection, Action<IServiceProvider, DbContextOptionsBuilder<TContext>>, ServiceLifetime)

Registers the given context and all its inherited base types and implemented interfaces as services.

Declaration
public static IServiceCollection AddInfrastructure<TContext>(this IServiceCollection serviceCollection, Action<IServiceProvider, DbContextOptionsBuilder<TContext>> optionsAction, ServiceLifetime lifeTime = ServiceLifetime.Scoped)
    where TContext : DbContext, IEntityServiceProvider
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection

The collection to add services to.

System.Action<System.IServiceProvider, Microsoft.EntityFrameworkCore.DbContextOptionsBuilder<TContext>> optionsAction

Action method performing the context options configuration.

Microsoft.Extensions.DependencyInjection.ServiceLifetime lifeTime

Lifetime of the context service.

Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

The same service collection so that multiple calls can be chained.

Type Parameters
Name Description
TContext

The type of the context.

Remarks

Using this method is higly recommended in applications with multiple DbContext generations to ensure dependency injection service compatibility accross assemlies.

AddRepositories<TContext>(IServiceCollection)

Declaration
public static IServiceCollection AddRepositories<TContext>(this IServiceCollection serviceCollection)
    where TContext : DbContext, IEntityServiceProvider
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection
Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection
Type Parameters
Name Description
TContext

Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Back to top Copyright © 2019 PTS Holding LLC