EntityFrameworkCoreXmlRepository<TContext> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the EntityFrameworkCoreXmlRepository<TContext>.
public:
EntityFrameworkCoreXmlRepository(IServiceProvider ^ services, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public EntityFrameworkCoreXmlRepository (IServiceProvider services, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.EntityFrameworkCoreXmlRepository<'Context (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Context :> Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.IDataProtectionKeyContext)> : IServiceProvider * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.EntityFrameworkCoreXmlRepository<'Context (requires 'Context :> Microsoft.EntityFrameworkCore.DbContext and 'Context :> Microsoft.AspNetCore.DataProtection.EntityFrameworkCore.IDataProtectionKeyContext)>
Public Sub New (services As IServiceProvider, loggerFactory As ILoggerFactory)
Parameters
- services
- IServiceProvider
- loggerFactory
- ILoggerFactory
The ILoggerFactory.