Click or drag to resize
IRepositoryT Interface
Repository pattern for use with an ORM

Namespace: AccidentalFish.ApplicationSupport.Core.Repository
Assembly: AccidentalFish.ApplicationSupport.Core (in AccidentalFish.ApplicationSupport.Core.dll) Version: 1.0.4.0 (1.0.4.0)
Syntax
public interface IRepository<T>
where T : class

Type Parameters

T
The type of the objects represented by the repository

The IRepositoryT type exposes the following members.

Properties
  NameDescription
Public propertyAll
Get an IQueryable interface for the repository
Top
Methods
  NameDescription
Public methodAllIncluding
Get an IQueryable interface for the repository including child object / collection references
Public methodDelete(Int32)
Delete the entity with the given ID
Public methodDelete(T)
Delete the entity
Public methodFind
Find the entity with the specified integer ID
Public methodInsert
Insert the given entity
Public methodInsertOrUpdate
Insert or update the entity using idFunc to return the ID of the entity
Public methodUpdate
Update the entity
Top
See Also