Interface IProviderFactoryRegistry
OptimaJet.Workflow.Api.IProviderFactoryRegistry
Interface for a registry that manages and provides access to different providers factories
Namespace: OptimaJet.Workflow.Api
public interface IProviderFactoryRegistryMethods
IProviderFactory Get(string? providerId) #Gets the provider factory for the specified database provider identifier. Default identifiers are stored in PersistenceProviderId.
Parameters
Name
Type
Description
providerIdStringThe identifier of the database provider (DBMS). If null, the default factory is returned.
Returns
Type
Description
IProviderFactoryThe corresponding IProviderFactory instance, or the default factory if providerId is null.
IProviderFactory GetDefault() #Gets the first registered provider factory as the default.
Returns
Type
Description
IProviderFactoryThe default IProviderFactory instance.