Namespace Umbraco.Cms.Infrastructure.Persistence
Classes
CustomConnectionStringDatabaseProviderMetadata
Provider metadata for custom connection string setup.
DatabaseProviderMetadataExtensions
Extension methods for IDatabaseProviderMetadata.
DbProviderFactoryCreator
Provides methods for creating instances of database provider factories used by Umbraco CMS.
NPocoMapperCollection
Represents a collection of NPoco mappers for mapping database records to objects.
NPocoMapperCollectionBuilder
Represents a builder used to configure and manage a collection of NPoco mappers within the Umbraco CMS infrastructure.
ScalarMapper<T>
Provides functionality to map scalar values of type T between the application and the database.
SqlContext
Implements ISqlContext.
SqlTemplate
Represents a template for generating SQL queries in the persistence layer.
SqlTemplates
Provides a collection of predefined SQL templates used for various persistence operations within the Umbraco CMS infrastructure layer. This class centralizes SQL statements to promote reuse and maintainability.
UmbracoDatabase
Extends NPoco Database for Umbraco.
UmbracoDatabase.CommandInfo
Represents information about a command executed against the Umbraco database.
UmbracoDatabase.ParameterInfo
Contains metadata about a parameter used in database commands executed by UmbracoDatabase.
UmbracoDatabaseFactory
Default implementation of IUmbracoDatabaseFactory.
Interfaces
IBulkSqlInsertProvider
Provides an interface for implementing bulk SQL insert operations in a database.
IDatabaseAvailabilityCheck
Checks if a configured database is available on boot.
IDatabaseCreator
Represents a service responsible for creating and managing the database schema within the persistence layer.
IDatabaseProviderMetadata
Defines metadata details for a specific database provider implementation.
IDatabaseReadOnlyAccessor
Provides a way to check whether the database is read-only.
IDbProviderFactoryCreator
Defines a service for creating instances of database provider factories.
IProviderSpecificConnectionInterceptor
Represents an interceptor that allows customization or monitoring of database connection operations specific to a particular database provider.
IProviderSpecificDataInterceptor
Provides methods for intercepting and modifying data operations that are specific to a particular database provider. Implementations can customize behavior based on the underlying database system.
IProviderSpecificExceptionInterceptor
Represents an interceptor that handles exceptions specific to a particular database provider. Implementations can use this to translate or process provider-specific exceptions.
IProviderSpecificExecutingInterceptor
Represents an interceptor that allows execution of provider-specific logic during persistence operations.
IProviderSpecificInterceptor
Provides methods for intercepting and customizing behavior specific to a database provider.
IProviderSpecificMapperFactory
Represents a factory interface for creating mappers that are specific to a particular data provider.
IProviderSpecificTransactionInterceptor
Represents an interceptor that enables customization of transaction behaviors specific to a database provider.
IScalarMapper
Provides a mapping function for ExecuteScalar<T>(string, params object[])
ISqlContext
Specifies the Sql context.
IUmbracoDatabase
Defines an abstraction for interacting with the Umbraco database, providing methods for persistence and data access operations.
IUmbracoDatabaseFactory
Creates and manages the "ambient" database.
Enums
RecordPersistenceType
Specifies the available strategies for persisting records in the system.