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. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for