ProjetThe/ProjetTheAlone/Model/G_T_listPlat.cs

39 lines
1.3 KiB
C#
Raw Normal View History

2019-01-18 13:08:55 +01:00
#region Ressources extérieures
using System;
using System.Collections.Generic;
using System.Text;
using ProjetTheAlone.Classes;
using ProjetTheAlone.Acces;
#endregion
namespace ProjetTheAlone.Gestion
{
/// <summary>
/// Couche intermédiaire de gestion (Business Layer)
/// </summary>
public class G_T_listPlat : G_Base
{
#region Constructeurs
public G_T_listPlat()
: base()
{ }
public G_T_listPlat(string sChaineConnexion)
: base(sChaineConnexion)
{ }
#endregion
2019-01-24 22:24:05 +01:00
public int Ajouter(DateTime LP_DatePlat, int ID_plat)
{ return new A_T_listPlat(ChaineConnexion).Ajouter(LP_DatePlat, ID_plat); }
public int Modifier(int ID_listPlat, DateTime LP_DatePlat, int ID_plat)
{ return new A_T_listPlat(ChaineConnexion).Modifier(ID_listPlat, LP_DatePlat, ID_plat); }
2019-01-18 13:08:55 +01:00
public List<C_T_listPlat> Lire(string Index)
2019-01-24 22:24:05 +01:00
{ return new A_T_listPlat(ChaineConnexion).Lire(Index); } //C_T_listPlat Lire(DateTime LP_DateRepas)
public List<C_T_plat> Lire(DateTime dateV)
{ return new A_T_listPlat(ChaineConnexion).Lire(dateV); } //C_T_listPlat Lire(DateTime LP_DateRepas)
public C_T_listPlat Lire_ID(int ID_listPlat)
2019-01-18 13:08:55 +01:00
{ return new A_T_listPlat(ChaineConnexion).Lire_ID(ID_listPlat); }
2019-01-24 22:24:05 +01:00
public int Supprimer(int ID_Plat, DateTime dateV)
{ return new A_T_listPlat(ChaineConnexion).Supprimer(ID_Plat, dateV); }
2019-01-18 13:08:55 +01:00
}
}