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)

参数

services
IServiceProvider
loggerFactory
ILoggerFactory

ILoggerFactory

适用于