Skip to content

easyextensionsentityframeworkcoredatabaserepository IRepository

BigMakCode edited this page Aug 5, 2024 · 1 revision

IRepository Public interface

Description

Base repository interface for accessing and manipulating entities.

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph EasyExtensions.EntityFrameworkCore.Database.Repository
  EasyExtensions.EntityFrameworkCore.Database.Repository.IRepository[[IRepository]]
  class EasyExtensions.EntityFrameworkCore.Database.Repository.IRepository interfaceStyle;
  end
Loading

Members

Methods

Public methods

Returns Name
Task<int> SaveChangesAsync()
Saves all changes made in the context to the underlying database asynchronously.

Details

Summary

Base repository interface for accessing and manipulating entities.

Methods

SaveChangesAsync

public Task<int> SaveChangesAsync()
Summary

Saves all changes made in the context to the underlying database asynchronously.

Returns

A task that represents the asynchronous save operation. The task result contains the number of state entries written to the database.

Generated with ModularDoc

Clone this wiki locally