EntityFrameworkCoreXmlRepository<TContext> Constructor
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Crea una nueva instancia de 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)
Parámetros
- services
- IServiceProvider
- loggerFactory
- ILoggerFactory