EntityFrameworkCoreXmlRepository<TContext> Costruttore
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea una nuova istanza dell'oggetto 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)
Parametri
- services
- IServiceProvider
- loggerFactory
- ILoggerFactory
Oggetto ILoggerFactory.