Skip to content
This repository has been archived by the owner on Aug 16, 2018. It is now read-only.

Commit

Permalink
Inherit ILinqRepository from IRepository, see sharparchitecture#61
Browse files Browse the repository at this point in the history
  • Loading branch information
cd21h committed Jun 6, 2015
1 parent 79f9d80 commit fd4c527
Showing 1 changed file with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,8 @@ namespace SharpArch.Domain.PersistenceSupport
/// Defines a LINQ implementation of the Repository Pattern that takes in a Specification to
/// define the items that should be returned.
/// </remarks>
public interface ILinqRepositoryWithTypedId<T, TId>
public interface ILinqRepositoryWithTypedId<T, TId>: IRepositoryWithTypedId<T, TId>
{
/// <summary>
/// Deletes the specified object from the repository
/// </summary>
/// <param name="target">The entity.</param>
void Delete(T target);

/// <summary>
/// Deletes the object that matches the supplied ID from the repository
/// </summary>
/// <param name="id">The ID of the entity.</param>
void Delete(TId id);

/// <summary>
/// Saves the specified object to the repository
/// </summary>
Expand Down

0 comments on commit fd4c527

Please sign in to comment.