Files

14 lines
505 B
C#
Raw Permalink Normal View History

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);
}
}