Compartilhar via


EntityFrameworkCoreXmlRepository<TContext> Classe

Definição

Um IXmlRepository apoiado por um armazenamento de dados EntityFrameworkCore.

generic <typename TContext>
 where TContext : DbContext, IDataProtectionKeyContextpublic ref class EntityFrameworkCoreXmlRepository : Microsoft::AspNetCore::DataProtection::Repositories::IXmlRepository
public class EntityFrameworkCoreXmlRepository<TContext> : Microsoft.AspNetCore.DataProtection.Repositories.IXmlRepository where TContext : DbContext, IDataProtectionKeyContext
type EntityFrameworkCoreXmlRepository<'Context (requires 'Context :> DbContext and 'Context :> IDataProtectionKeyContext)> = class
    interface IXmlRepository
Public Class EntityFrameworkCoreXmlRepository(Of TContext)
Implements IXmlRepository

Parâmetros de tipo

TContext
Herança
EntityFrameworkCoreXmlRepository<TContext>
Implementações

Construtores

EntityFrameworkCoreXmlRepository<TContext>(IServiceProvider, ILoggerFactory)

Cria uma nova instância do EntityFrameworkCoreXmlRepository<TContext>.

Métodos

GetAllElements()

Obtém todos os elementos XML de nível superior no repositório.

StoreElement(XElement, String)

Adiciona um elemento XML de nível superior ao repositório.

Aplica-se a