Nucleus .Net Core CMS

IDataProviderFactory Interface

Namespace: Nucleus.Data.Common
Assembly: Nucleus.Data.Common.dll
Data provider factory base class. A data provider factory retrieves data provider interface instances from the dependency injection container.

Methods

CreateProvider<TDataProvider>

CreateProvider<TDataProvider> ()
Create a new instance of the specified data provider interface
Type Parameters
TDataProvider
Returns
A data provider instance of the specified type.

PreventSchemaCheck (String) Method

PreventSchemaCheck (String schemaName)
Prevent database schema checking.
Parameters
Name Type
schemaName String
Remarks
Extensions can use this method to suppress the default Nucleus behaviour of checking for a Schemas table, comparing versions, and running database schema update scripts. This is for cases where an extension is using a database from another system, and should not attempt to manage the database schema.