EntityFrameworkCoreXmlRepository<TContext> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IXmlRepository backed by an EntityFrameworkCore datastore.
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
Type Parameters
- TContext
- Inheritance
-
EntityFrameworkCoreXmlRepository<TContext>
- Implements
Constructors
EntityFrameworkCoreXmlRepository<TContext>(IServiceProvider, ILoggerFactory) |
Creates a new instance of the EntityFrameworkCoreXmlRepository<TContext>. |
Methods
GetAllElements() |
Gets all top-level XML elements in the repository. |
StoreElement(XElement, String) |
Adds a top-level XML element to the repository. |