kreta/Kreta.DataAccessManual/Interfaces/IDKT_FileDAL.cs
2024-03-13 00:33:46 +01:00

41 lines
1.2 KiB
C#

using System;
using System.Data;
using Kreta.DataAccess.Interfaces;
using Kreta.DataAccessManual.ParameterClasses;
using Kreta.Ellenorzo.Dao.VN.FeltoltottFajl;
namespace Kreta.DataAccessManual.Interfaces
{
public interface IDKT_FileDAL
{
IDKT_File Get();
IDKT_File Get(int id);
int Insert(IDKT_File dto);
void Update(IDKT_File file);
void FullUpdate(IDKT_File dto);
void Delete(int id, int userId);
void ConnectToHaziFeladat(int intezmenyId, int tanevId, int haziFeladatId, int csatolmanyId);
DataSet GetHaziFeladatCsatolmanyok(int tanevId, HFCsatolmanyokSearchPCO pco);
double GetHaziFeladatCsatolmanyokOsszMeret(int tanevId, int tanarId);
DataSet GetCsatolmanyokForHaziFeladatDataSet(int tanevId, int intezmenyId, int haziFeladatId);
int GetFeltoltottFajlokSzamaByOrarendiOraId(int intezmenyId, int tanevId, DateTime feltoltesDatuma, int v);
int GetFeltoltottFajlokSzamaByTanitasiOraId(int intezmenyId, int tanevId, int value);
bool GetJogosultsag(int tanuloId, int fileId, int tanevId);
DataSet FileKereses(int intezmenyId, int tanevId, FileKeresesRequestDao model, bool isNaplozas);
void Delete(int id);
}
}