14 lines
505 B
C#
14 lines
505 B
C#
using System.Collections.Generic;
|
|||
|
|
|
||
|
|
namespace Net.Connection
|
||
|
|
{
|
||
|
|
public interface IRepositoryBase<T>
|
||
|
|
{
|
||
|
|
IEnumerable<T> FindAll(T entity, string storeProcedure);
|
||
|
|
IEnumerable<T> FindByCondition(object entity, string storeProcedure);
|
||
|
|
T FindById(object entity, string storeProcedure);
|
||
|
|
int Create(object entity, string storeProcedure);
|
||
|
|
void Update(object entity, string storeProcedure);
|
||
|
|
void Delete(T entity, string storeProcedure);
|
||
|
|
}
|
||
|
|
}
|