Switch branches/tags
Nothing to show
Find file Copy path
5948403 Oct 10, 2018
1 contributor

Users who have contributed to this file

27 lines (22 sloc) 697 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.Query;
using Threenine.Data.Paging;
namespace Threenine.Data
public interface IRepository<T> : IReadRepository<T>, IDisposable where T : class
void Add(T entity);
void Add(params T[] entities);
void Add(IEnumerable<T> entities);
void Delete(T entity);
void Delete(object id);
void Delete(params T[] entities);
void Delete(IEnumerable<T> entities);
void Update(T entity);
void Update(params T[] entities);
void Update(IEnumerable<T> entities);