Interface IWriteRepository<TEntity>
Defines the base implementation of a writing repository.
Namespace: Umbraco.Core.Persistence
Assembly: Umbraco.Core.dll
Syntax
public interface IWriteRepository<in TEntity> : IRepository
Type Parameters
Name | Description |
---|---|
TEntity |
Methods
View SourceDelete(TEntity)
Deletes an entity.
Declaration
void Delete(TEntity entity)
Parameters
Type | Name | Description |
---|---|---|
TEntity | entity |
Save(TEntity)
Saves an entity.
Declaration
void Save(TEntity entity)
Parameters
Type | Name | Description |
---|---|---|
TEntity | entity |