init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
22
Kreta.DataAccessManual/Interfaces/IBaseDal.cs
Normal file
22
Kreta.DataAccessManual/Interfaces/IBaseDal.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
using Kreta.DataAccess.Interfaces;
|
||||
|
||||
namespace Kreta.DataAccessManual.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// CRUD alap interface a Dal-okhoz.
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
public interface IBaseDal<T>
|
||||
where T : IEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// Visszaad egy új entitást
|
||||
/// </summary>
|
||||
T Get();
|
||||
T Get(int id);
|
||||
void Insert(T dto);
|
||||
void Update(T dto);
|
||||
void Delete(T dto);
|
||||
void Delete(int id);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue