Files
SewerGenerator/SewerStammGen.DAL/Services/SchachtDataService.cs

54 lines
1.3 KiB
C#

using Npgsql;
using SewerStammGen.Shared.Contracts;
using SewerStammGen.Shared.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SewerStammGen.DAL.Services
{
public class SchachtDataService : PostgresqlDataService, ISchachtDataService
{
public SchachtDataService() : base("public.\"Schaechte\"")
{
}
public Task<Schacht> Create(Schacht entity)
{
throw new NotImplementedException();
}
public Task<Schacht> Get(int id)
{
throw new NotImplementedException();
}
public Task<IEnumerable<Schacht>> GetAll()
{
throw new NotImplementedException();
}
private Schacht parseSchacht(NpgsqlDataReader? reader)
{
throw new NotImplementedException();
}
public Task<IEnumerable<Schacht>> GetAllByProjekt(int projektID)
{
throw new NotImplementedException();
}
public async Task<IEnumerable<Schacht>> GetAllByProjekt(Projekt projekt)
{
return await GetAllByProjekt(projekt.Id);
}
public Task<Schacht> Update(Schacht entity)
{
throw new NotImplementedException();
}
}
}