Files
laatzen/LaaProductionWeb/LaaProductionWeb.Data/Repositories/Repository[T].cs
T
Stoyan Zlatev cf9dfe1915 Production Approvals,
sql client refactoring
2023-04-14 16:45:41 +02:00

41 lines
1.1 KiB
C#

namespace LaaProductionWeb.Data.Repositories
{
using System.Collections.Generic;
using LaaProductionWeb.Data.Interfaces;
using LaaProductionWeb.Data.Repositories.Interfaces;
public abstract class Repository<T> : IRepository<T>
{
private readonly ISqlClient sqlClient;
protected Repository(ISqlClient sqlClient)
=> this.sqlClient = sqlClient;
public int Create(string query, object parameters)
{
throw new System.NotImplementedException();
}
public int Delete(string query, object parameters)
{
throw new System.NotImplementedException();
}
public IEnumerable<T> First(string query, object parameters)
{
throw new System.NotImplementedException();
}
public T Read(string query, object parameters)
{
throw new System.NotImplementedException();
}
public int Update(string query, object parameters)
{
throw new System.NotImplementedException();
}
}
}