Sdílet prostřednictvím


EntityFrameworkCoreXmlRepository<TContext> Třída

Definice

Úložiště IXmlRepository dat Založené na úložišti dat 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

Parametry typu

TContext
Dědičnost
EntityFrameworkCoreXmlRepository<TContext>
Implementuje

Konstruktory

EntityFrameworkCoreXmlRepository<TContext>(IServiceProvider, ILoggerFactory)

Vytvoří novou instanci objektu EntityFrameworkCoreXmlRepository<TContext>.

Metody

GetAllElements()

Získá všechny elementy XML nejvyšší úrovně v úložišti.

StoreElement(XElement, String)

Přidá element XML nejvyšší úrovně do úložiště.

Platí pro