avent sup hu
This commit is contained in:
parent
abc3480b88
commit
e262770905
|
@ -1,6 +1,18 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<configSections>
|
||||||
|
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||||
|
<section name="ProjetTheAlone.Settings1" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||||
|
</sectionGroup>
|
||||||
|
</configSections>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||||
</startup>
|
</startup>
|
||||||
|
<userSettings>
|
||||||
|
<ProjetTheAlone.Settings1>
|
||||||
|
<setting name="schCon" serializeAs="String">
|
||||||
|
<value>Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=ProjetThe;Integrated Security=True</value>
|
||||||
|
</setting>
|
||||||
|
</ProjetTheAlone.Settings1>
|
||||||
|
</userSettings>
|
||||||
</configuration>
|
</configuration>
|
|
@ -20,7 +20,7 @@ namespace ProjetTheAlone.Acces
|
||||||
: base(sChaineConnexion)
|
: base(sChaineConnexion)
|
||||||
{ }
|
{ }
|
||||||
#endregion
|
#endregion
|
||||||
public int Ajouter(DateTime? E_date, DateTime? E_duree, int? ID_typeEvenement,string E_description, int? ID_lieu)
|
public int Ajouter(DateTime? E_date, DateTime? E_duree, int? ID_typeEvenement,string E_description, int? ID_lieu, Byte?[] E_Pic)
|
||||||
{
|
{
|
||||||
CreerCommande("AjouterT_event");
|
CreerCommande("AjouterT_event");
|
||||||
int res = 0;
|
int res = 0;
|
||||||
|
@ -36,13 +36,14 @@ namespace ProjetTheAlone.Acces
|
||||||
else Commande.Parameters.AddWithValue("@E_description", E_description);
|
else Commande.Parameters.AddWithValue("@E_description", E_description);
|
||||||
if(ID_lieu == null) Commande.Parameters.AddWithValue("@ID_lieu", Convert.DBNull);
|
if(ID_lieu == null) Commande.Parameters.AddWithValue("@ID_lieu", Convert.DBNull);
|
||||||
else Commande.Parameters.AddWithValue("@ID_lieu", ID_lieu);
|
else Commande.Parameters.AddWithValue("@ID_lieu", ID_lieu);
|
||||||
|
Commande.Parameters.AddWithValue("@E_Pic", E_Pic ?? Convert.DBNull);
|
||||||
Commande.Connection.Open();
|
Commande.Connection.Open();
|
||||||
Commande.ExecuteNonQuery();
|
Commande.ExecuteNonQuery();
|
||||||
res = int.Parse(LireParametre("ID_event"));
|
res = int.Parse(LireParametre("ID_event"));
|
||||||
Commande.Connection.Close();
|
Commande.Connection.Close();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
public int Modifier(int ID_event, DateTime? E_date, DateTime? E_duree, int? ID_typeEvenement, string E_description, int? ID_lieu)
|
public int Modifier(int ID_event, DateTime? E_date, DateTime? E_duree, int? ID_typeEvenement, string E_description, int? ID_lieu, Byte?[] E_Pic)
|
||||||
{
|
{
|
||||||
CreerCommande("ModifierT_event");
|
CreerCommande("ModifierT_event");
|
||||||
int res = 0;
|
int res = 0;
|
||||||
|
@ -57,6 +58,7 @@ namespace ProjetTheAlone.Acces
|
||||||
else Commande.Parameters.AddWithValue("@E_description", E_description);
|
else Commande.Parameters.AddWithValue("@E_description", E_description);
|
||||||
if(ID_lieu == null) Commande.Parameters.AddWithValue("@ID_lieu", Convert.DBNull);
|
if(ID_lieu == null) Commande.Parameters.AddWithValue("@ID_lieu", Convert.DBNull);
|
||||||
else Commande.Parameters.AddWithValue("@ID_lieu", ID_lieu);
|
else Commande.Parameters.AddWithValue("@ID_lieu", ID_lieu);
|
||||||
|
Commande.Parameters.AddWithValue("@E_Pic", E_Pic ?? Convert.DBNull);
|
||||||
Commande.Connection.Open();
|
Commande.Connection.Open();
|
||||||
Commande.ExecuteNonQuery();
|
Commande.ExecuteNonQuery();
|
||||||
Commande.Connection.Close();
|
Commande.Connection.Close();
|
||||||
|
@ -78,6 +80,7 @@ namespace ProjetTheAlone.Acces
|
||||||
if(dr["ID_typeEvenement"] != DBNull.Value) tmp.ID_typeEvenement = int.Parse(dr["ID_typeEvenement"].ToString());
|
if(dr["ID_typeEvenement"] != DBNull.Value) tmp.ID_typeEvenement = int.Parse(dr["ID_typeEvenement"].ToString());
|
||||||
if(dr["E_description"] != DBNull.Value) tmp.E_description = (dr["E_description"].ToString());
|
if(dr["E_description"] != DBNull.Value) tmp.E_description = (dr["E_description"].ToString());
|
||||||
if(dr["ID_lieu"] != DBNull.Value) tmp.ID_lieu = int.Parse(dr["ID_lieu"].ToString());
|
if(dr["ID_lieu"] != DBNull.Value) tmp.ID_lieu = int.Parse(dr["ID_lieu"].ToString());
|
||||||
|
if (dr["E_Pic"] != DBNull.Value) tmp.E_Pic = (byte?[])dr["E_Pic"];
|
||||||
res.Add(tmp);
|
res.Add(tmp);
|
||||||
}
|
}
|
||||||
dr.Close();
|
dr.Close();
|
||||||
|
@ -99,6 +102,7 @@ namespace ProjetTheAlone.Acces
|
||||||
if(dr["ID_typeEvenement"] != DBNull.Value) res.ID_typeEvenement = int.Parse(dr["ID_typeEvenement"].ToString());
|
if(dr["ID_typeEvenement"] != DBNull.Value) res.ID_typeEvenement = int.Parse(dr["ID_typeEvenement"].ToString());
|
||||||
if(dr["E_description"] != DBNull.Value) res.E_description = (dr["E_description"].ToString());
|
if(dr["E_description"] != DBNull.Value) res.E_description = (dr["E_description"].ToString());
|
||||||
if(dr["ID_lieu"] != DBNull.Value) res.ID_lieu = int.Parse(dr["ID_lieu"].ToString());
|
if(dr["ID_lieu"] != DBNull.Value) res.ID_lieu = int.Parse(dr["ID_lieu"].ToString());
|
||||||
|
if (dr["E_Pic"] != DBNull.Value) res.E_Pic = (byte?[])dr["E_Pic"];
|
||||||
}
|
}
|
||||||
dr.Close();
|
dr.Close();
|
||||||
Commande.Connection.Close();
|
Commande.Connection.Close();
|
||||||
|
|
|
@ -20,7 +20,7 @@ namespace ProjetTheAlone.Acces
|
||||||
: base(sChaineConnexion)
|
: base(sChaineConnexion)
|
||||||
{ }
|
{ }
|
||||||
#endregion
|
#endregion
|
||||||
public int Ajouter(int? ID_listPlat, int? ID_typeRepa)
|
public int Ajouter(int? ID_listPlat, int? ID_typeRepa, DateTime R_Date)
|
||||||
{
|
{
|
||||||
CreerCommande("AjouterT_repa");
|
CreerCommande("AjouterT_repa");
|
||||||
int res = 0;
|
int res = 0;
|
||||||
|
@ -30,13 +30,14 @@ namespace ProjetTheAlone.Acces
|
||||||
else Commande.Parameters.AddWithValue("@ID_listPlat", ID_listPlat);
|
else Commande.Parameters.AddWithValue("@ID_listPlat", ID_listPlat);
|
||||||
if(ID_typeRepa == null) Commande.Parameters.AddWithValue("@ID_typeRepa", Convert.DBNull);
|
if(ID_typeRepa == null) Commande.Parameters.AddWithValue("@ID_typeRepa", Convert.DBNull);
|
||||||
else Commande.Parameters.AddWithValue("@ID_typeRepa", ID_typeRepa);
|
else Commande.Parameters.AddWithValue("@ID_typeRepa", ID_typeRepa);
|
||||||
|
Commande.Parameters.AddWithValue("@R_Date", R_Date);
|
||||||
Commande.Connection.Open();
|
Commande.Connection.Open();
|
||||||
Commande.ExecuteNonQuery();
|
Commande.ExecuteNonQuery();
|
||||||
res = int.Parse(LireParametre("ID_repa"));
|
res = int.Parse(LireParametre("ID_repa"));
|
||||||
Commande.Connection.Close();
|
Commande.Connection.Close();
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
public int Modifier(int ID_repa, int? ID_listPlat, int? ID_typeRepa)
|
public int Modifier(int ID_repa, int? ID_listPlat, int? ID_typeRepa , DateTime R_Date)
|
||||||
{
|
{
|
||||||
CreerCommande("ModifierT_repa");
|
CreerCommande("ModifierT_repa");
|
||||||
int res = 0;
|
int res = 0;
|
||||||
|
@ -45,6 +46,7 @@ namespace ProjetTheAlone.Acces
|
||||||
else Commande.Parameters.AddWithValue("@ID_listPlat", ID_listPlat);
|
else Commande.Parameters.AddWithValue("@ID_listPlat", ID_listPlat);
|
||||||
if(ID_typeRepa == null) Commande.Parameters.AddWithValue("@ID_typeRepa", Convert.DBNull);
|
if(ID_typeRepa == null) Commande.Parameters.AddWithValue("@ID_typeRepa", Convert.DBNull);
|
||||||
else Commande.Parameters.AddWithValue("@ID_typeRepa", ID_typeRepa);
|
else Commande.Parameters.AddWithValue("@ID_typeRepa", ID_typeRepa);
|
||||||
|
Commande.Parameters.AddWithValue("@R_Date", R_Date);
|
||||||
Commande.Connection.Open();
|
Commande.Connection.Open();
|
||||||
Commande.ExecuteNonQuery();
|
Commande.ExecuteNonQuery();
|
||||||
Commande.Connection.Close();
|
Commande.Connection.Close();
|
||||||
|
@ -61,6 +63,55 @@ namespace ProjetTheAlone.Acces
|
||||||
{
|
{
|
||||||
C_T_repa tmp = new C_T_repa();
|
C_T_repa tmp = new C_T_repa();
|
||||||
tmp.ID_repa = int.Parse(dr["ID_repa"].ToString());
|
tmp.ID_repa = int.Parse(dr["ID_repa"].ToString());
|
||||||
|
tmp.R_Date = DateTime.Parse(dr["R_Date"].ToString());
|
||||||
|
if(dr["ID_listPlat"] != DBNull.Value) tmp.ID_listPlat = int.Parse(dr["ID_listPlat"].ToString());
|
||||||
|
if(dr["ID_typeRepa"] != DBNull.Value) tmp.ID_typeRepa = int.Parse(dr["ID_typeRepa"].ToString());
|
||||||
|
res.Add(tmp);
|
||||||
|
}
|
||||||
|
dr.Close();
|
||||||
|
Commande.Connection.Close();
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// resume de <c>Lire</c>
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="start">Date filtre debut compris</param>
|
||||||
|
/// <param name="end">Date fin non compris</param>
|
||||||
|
|
||||||
|
public List<C_T_repa> Lire(DateTime start, DateTime end)
|
||||||
|
{
|
||||||
|
CreerCommande("SelectEventBetweenTwoDateTime");
|
||||||
|
Commande.Parameters.AddWithValue("@dateStart", start);
|
||||||
|
Commande.Parameters.AddWithValue("@dateEnd", end);
|
||||||
|
Commande.Connection.Open();
|
||||||
|
SqlDataReader dr = Commande.ExecuteReader();
|
||||||
|
List<C_T_repa> res = new List<C_T_repa>();
|
||||||
|
while (dr.Read())
|
||||||
|
{
|
||||||
|
C_T_repa tmp = new C_T_repa();
|
||||||
|
tmp.ID_repa = int.Parse(dr["ID_repa"].ToString());
|
||||||
|
tmp.R_Date = DateTime.Parse(dr["R_Date"].ToString());
|
||||||
|
if (dr["ID_listPlat"] != DBNull.Value) tmp.ID_listPlat = int.Parse(dr["ID_listPlat"].ToString());
|
||||||
|
if (dr["ID_typeRepa"] != DBNull.Value) tmp.ID_typeRepa = int.Parse(dr["ID_typeRepa"].ToString());
|
||||||
|
res.Add(tmp);
|
||||||
|
}
|
||||||
|
dr.Close();
|
||||||
|
Commande.Connection.Close();
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
public List<C_T_repa> Lire(DateTime dateV)
|
||||||
|
{
|
||||||
|
CreerCommande("SelectEventBetweenTwoDateTime");
|
||||||
|
Commande.Parameters.AddWithValue("@dateV", dateV);
|
||||||
|
Commande.Connection.Open();
|
||||||
|
SqlDataReader dr = Commande.ExecuteReader();
|
||||||
|
List<C_T_repa> res = new List<C_T_repa>();
|
||||||
|
while (dr.Read())
|
||||||
|
{
|
||||||
|
C_T_repa tmp = new C_T_repa();
|
||||||
|
tmp.ID_repa = int.Parse(dr["ID_repa"].ToString());
|
||||||
|
tmp.R_Date = DateTime.Parse(dr["R_Date"].ToString());
|
||||||
if (dr["ID_listPlat"] != DBNull.Value) tmp.ID_listPlat = int.Parse(dr["ID_listPlat"].ToString());
|
if (dr["ID_listPlat"] != DBNull.Value) tmp.ID_listPlat = int.Parse(dr["ID_listPlat"].ToString());
|
||||||
if (dr["ID_typeRepa"] != DBNull.Value) tmp.ID_typeRepa = int.Parse(dr["ID_typeRepa"].ToString());
|
if (dr["ID_typeRepa"] != DBNull.Value) tmp.ID_typeRepa = int.Parse(dr["ID_typeRepa"].ToString());
|
||||||
res.Add(tmp);
|
res.Add(tmp);
|
||||||
|
@ -78,6 +129,7 @@ namespace ProjetTheAlone.Acces
|
||||||
C_T_repa res = new C_T_repa();
|
C_T_repa res = new C_T_repa();
|
||||||
while (dr.Read())
|
while (dr.Read())
|
||||||
{
|
{
|
||||||
|
res.R_Date = DateTime.Parse(dr["R_Date"].ToString());
|
||||||
res.ID_repa = int.Parse(dr["ID_repa"].ToString());
|
res.ID_repa = int.Parse(dr["ID_repa"].ToString());
|
||||||
if(dr["ID_listPlat"] != DBNull.Value) res.ID_listPlat = int.Parse(dr["ID_listPlat"].ToString());
|
if(dr["ID_listPlat"] != DBNull.Value) res.ID_listPlat = int.Parse(dr["ID_listPlat"].ToString());
|
||||||
if(dr["ID_typeRepa"] != DBNull.Value) res.ID_typeRepa = int.Parse(dr["ID_typeRepa"].ToString());
|
if(dr["ID_typeRepa"] != DBNull.Value) res.ID_typeRepa = int.Parse(dr["ID_typeRepa"].ToString());
|
||||||
|
|
|
@ -18,20 +18,22 @@ namespace ProjetTheAlone.Classes
|
||||||
private int? _ID_typeEvenement;
|
private int? _ID_typeEvenement;
|
||||||
private string _E_description;
|
private string _E_description;
|
||||||
private int? _ID_lieu;
|
private int? _ID_lieu;
|
||||||
|
private byte?[] _E_Pic;
|
||||||
#endregion
|
#endregion
|
||||||
#region Constructeurs
|
#region Constructeurs
|
||||||
public C_T_event()
|
public C_T_event()
|
||||||
{ }
|
{ }
|
||||||
public C_T_event(DateTime? E_date_, DateTime? E_duree_, int? ID_typeEvenement_, string E_description_, int? ID_lieu_)
|
public C_T_event(DateTime? E_date_, DateTime? E_duree_, int? ID_typeEvenement_, string E_description_, int? ID_lieu_, byte?[] E_Pic_)
|
||||||
{
|
{
|
||||||
E_date = E_date_;
|
E_date = E_date_;
|
||||||
E_duree = E_duree_;
|
E_duree = E_duree_;
|
||||||
ID_typeEvenement = ID_typeEvenement_;
|
ID_typeEvenement = ID_typeEvenement_;
|
||||||
E_description = E_description_;
|
E_description = E_description_;
|
||||||
ID_lieu = ID_lieu_;
|
ID_lieu = ID_lieu_;
|
||||||
|
E_Pic = E_Pic_;
|
||||||
}
|
}
|
||||||
public C_T_event(int ID_event_, DateTime? E_date_, DateTime? E_duree_, int? ID_typeEvenement_, string E_description_, int? ID_lieu_)
|
public C_T_event(int ID_event_, DateTime? E_date_, DateTime? E_duree_, int? ID_typeEvenement_, string E_description_, int? ID_lieu_, byte?[] E_Pic_)
|
||||||
: this(E_date_, E_duree_, ID_typeEvenement_, E_description_, ID_lieu_)
|
: this(E_date_, E_duree_, ID_typeEvenement_, E_description_, ID_lieu_, E_Pic_)
|
||||||
{
|
{
|
||||||
ID_event = ID_event_;
|
ID_event = ID_event_;
|
||||||
}
|
}
|
||||||
|
@ -60,6 +62,7 @@ namespace ProjetTheAlone.Classes
|
||||||
|
|
||||||
public string E_description { get => _E_description; set => _E_description = value; }
|
public string E_description { get => _E_description; set => _E_description = value; }
|
||||||
public int? ID_lieu { get => _ID_lieu; set => _ID_lieu = value; }
|
public int? ID_lieu { get => _ID_lieu; set => _ID_lieu = value; }
|
||||||
|
public byte?[] E_Pic { get => _E_Pic; set => _E_Pic = value; }
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -15,17 +15,19 @@ namespace ProjetTheAlone.Classes
|
||||||
private int _ID_repa;
|
private int _ID_repa;
|
||||||
private int? _ID_listPlat;
|
private int? _ID_listPlat;
|
||||||
private int? _ID_typeRepa;
|
private int? _ID_typeRepa;
|
||||||
|
private DateTime _R_Date;
|
||||||
#endregion
|
#endregion
|
||||||
#region Constructeurs
|
#region Constructeurs
|
||||||
public C_T_repa()
|
public C_T_repa()
|
||||||
{ }
|
{ }
|
||||||
public C_T_repa(int? ID_listPlat_, int? ID_typeRepa_)
|
public C_T_repa(int? ID_listPlat_, int? ID_typeRepa_, DateTime R_Date_)
|
||||||
{
|
{
|
||||||
ID_listPlat = ID_listPlat_;
|
ID_listPlat = ID_listPlat_;
|
||||||
ID_typeRepa = ID_typeRepa_;
|
ID_typeRepa = ID_typeRepa_;
|
||||||
|
R_Date = R_Date_;
|
||||||
}
|
}
|
||||||
public C_T_repa(int ID_repa_, int? ID_listPlat_, int? ID_typeRepa_)
|
public C_T_repa(int ID_repa_, int? ID_listPlat_, int? ID_typeRepa_, DateTime R_Date_)
|
||||||
: this(ID_listPlat_, ID_typeRepa_)
|
: this(ID_listPlat_, ID_typeRepa_, R_Date_)
|
||||||
{
|
{
|
||||||
ID_repa = ID_repa_;
|
ID_repa = ID_repa_;
|
||||||
}
|
}
|
||||||
|
@ -46,6 +48,9 @@ namespace ProjetTheAlone.Classes
|
||||||
get { return _ID_typeRepa; }
|
get { return _ID_typeRepa; }
|
||||||
set { _ID_typeRepa = value; }
|
set { _ID_typeRepa = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public DateTime R_Date { get => _R_Date; set => _R_Date = value; }
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,10 +21,10 @@ namespace ProjetTheAlone.Gestion
|
||||||
: base(sChaineConnexion)
|
: base(sChaineConnexion)
|
||||||
{ }
|
{ }
|
||||||
#endregion
|
#endregion
|
||||||
public int Ajouter(DateTime? E_date, DateTime? E_duree, int? ID_typeEvenement, string E_description, int? ID_lieu)
|
public int Ajouter(DateTime? E_date, DateTime? E_duree, int? ID_typeEvenement, string E_description, int? ID_lieu, byte?[] E_Pic_)
|
||||||
{ return new A_T_event(ChaineConnexion).Ajouter(E_date, E_duree, ID_typeEvenement,E_description, ID_lieu); }
|
{ return new A_T_event(ChaineConnexion).Ajouter(E_date, E_duree, ID_typeEvenement,E_description, ID_lieu, E_Pic_); }
|
||||||
public int Modifier(int ID_event, DateTime? E_date, DateTime? E_duree, int? ID_typeEvenement, string E_description, int? ID_lieu)
|
public int Modifier(int ID_event, DateTime? E_date, DateTime? E_duree, int? ID_typeEvenement, string E_description, int? ID_lieu, byte?[] E_Pic_)
|
||||||
{ return new A_T_event(ChaineConnexion).Modifier(ID_event, E_date, E_duree, ID_typeEvenement, E_description, ID_lieu); }
|
{ return new A_T_event(ChaineConnexion).Modifier(ID_event, E_date, E_duree, ID_typeEvenement, E_description, ID_lieu, E_Pic_); }
|
||||||
public List<C_T_event> Lire(string Index)
|
public List<C_T_event> Lire(string Index)
|
||||||
{ return new A_T_event(ChaineConnexion).Lire(Index); }
|
{ return new A_T_event(ChaineConnexion).Lire(Index); }
|
||||||
public C_T_event Lire_ID(int ID_event)
|
public C_T_event Lire_ID(int ID_event)
|
||||||
|
|
|
@ -21,10 +21,10 @@ namespace ProjetTheAlone.Gestion
|
||||||
: base(sChaineConnexion)
|
: base(sChaineConnexion)
|
||||||
{ }
|
{ }
|
||||||
#endregion
|
#endregion
|
||||||
public int Ajouter(int? ID_listPlat, int? ID_typeRepa)
|
public int Ajouter(int? ID_listPlat, int? ID_typeRepa, DateTime R_Date)
|
||||||
{ return new A_T_repa(ChaineConnexion).Ajouter(ID_listPlat, ID_typeRepa); }
|
{ return new A_T_repa(ChaineConnexion).Ajouter(ID_listPlat, ID_typeRepa , R_Date); }
|
||||||
public int Modifier(int ID_repa, int? ID_listPlat, int? ID_typeRepa)
|
public int Modifier(int ID_repa, int? ID_listPlat, int? ID_typeRepa, DateTime R_Date)
|
||||||
{ return new A_T_repa(ChaineConnexion).Modifier(ID_repa, ID_listPlat, ID_typeRepa); }
|
{ return new A_T_repa(ChaineConnexion).Modifier(ID_repa, ID_listPlat, ID_typeRepa , R_Date); }
|
||||||
public List<C_T_repa> Lire(string Index)
|
public List<C_T_repa> Lire(string Index)
|
||||||
{ return new A_T_repa(ChaineConnexion).Lire(Index); }
|
{ return new A_T_repa(ChaineConnexion).Lire(Index); }
|
||||||
public C_T_repa Lire_ID(int ID_repa)
|
public C_T_repa Lire_ID(int ID_repa)
|
||||||
|
|
|
@ -13,6 +13,21 @@
|
||||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<PublishUrl>publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
@ -90,6 +105,12 @@
|
||||||
<Compile Include="Model\C_T_typeEvenement.cs" />
|
<Compile Include="Model\C_T_typeEvenement.cs" />
|
||||||
<Compile Include="Model\C_T_typePlat.cs" />
|
<Compile Include="Model\C_T_typePlat.cs" />
|
||||||
<Compile Include="Model\C_T_typeRepa.cs" />
|
<Compile Include="Model\C_T_typeRepa.cs" />
|
||||||
|
<Compile Include="Settings1.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
<DependentUpon>Settings1.settings</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ViewModel\EncodeBeneficiaire.cs" />
|
||||||
<Compile Include="ViewModel\EventPasseModel.cs" />
|
<Compile Include="ViewModel\EventPasseModel.cs" />
|
||||||
<Compile Include="Model\G_Base.cs" />
|
<Compile Include="Model\G_Base.cs" />
|
||||||
<Compile Include="Model\G_T_beneficiaire.cs" />
|
<Compile Include="Model\G_T_beneficiaire.cs" />
|
||||||
|
@ -212,15 +233,39 @@
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
</None>
|
</None>
|
||||||
|
<None Include="Settings1.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings1.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="img\desert.jpg" />
|
<Resource Include="img\desert.jpg" />
|
||||||
<Resource Include="img\entree.jpeg" />
|
<Resource Include="img\entree.jpeg" />
|
||||||
<Resource Include="img\plat.jpg" />
|
<Resource Include="img\plat.jpg" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 and x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="ProjetThe.mdf">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="ProjetThe_log.ldf">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
<DependentUpon>ProjetThe.mdf</DependentUpon>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
|
@ -53,6 +53,8 @@
|
||||||
</ListView>
|
</ListView>
|
||||||
</DockPanel>-->
|
</DockPanel>-->
|
||||||
<control:Repa x:Name="RepasMatin"></control:Repa>
|
<control:Repa x:Name="RepasMatin"></control:Repa>
|
||||||
|
<control:Repa Grid.Column="1" x:Name="RepasMidi"></control:Repa>
|
||||||
|
<control:Repa Grid.Column="2" x:Name="RepasSoir"></control:Repa>
|
||||||
|
|
||||||
<materialDesign:PackIcon Kind="Build" Grid.Column="2" HorizontalAlignment="Right" Cursor="Hand"/>
|
<materialDesign:PackIcon Kind="Build" Grid.Column="2" HorizontalAlignment="Right" Cursor="Hand"/>
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ namespace ProjetTheAlone.View
|
||||||
Rm.Quand = "Matin";
|
Rm.Quand = "Matin";
|
||||||
Console.WriteLine($"~~~~~~{Rm.ListPlat[0].P_nom}~~~~~~");
|
Console.WriteLine($"~~~~~~{Rm.ListPlat[0].P_nom}~~~~~~");
|
||||||
|
|
||||||
RepasMatin.DataContext = Rm;
|
RepasMatin.DataContext = RepasMidi.DataContext = RepasSoir.DataContext = Rm;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,58 +5,68 @@
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:ProjetTheAlone.View"
|
xmlns:local="clr-namespace:ProjetTheAlone.View"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Bénéficiaire" Height="300" Width="300" WindowStartupLocation="CenterScreen">
|
Title="Bénéficiaire" Height="482.167" Width="955.5" WindowStartupLocation="CenterScreen" WindowStyle="None">
|
||||||
<Grid>
|
<Grid Margin="0,-3,2,2">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
<RowDefinition Height="*" />
|
|
||||||
<RowDefinition Height="Auto" />
|
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Grid Name="UneFiche" IsEnabled="{Binding Path=ActiverUneFiche, Mode=OneWay}" >
|
<Label Content="Bénéficiaire" HorizontalAlignment="Left" Margin="31,20,0,0" VerticalAlignment="Top" FontFamily="Calibri" FontSize="20"/>
|
||||||
|
<Grid x:Name="UneFiche" IsEnabled="{Binding ActiverUneFiche, Mode=OneWay}" Margin="548,49,106,256" >
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
|
<RowDefinition Height="Auto" />
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto" />
|
<ColumnDefinition Width="Auto" />
|
||||||
<ColumnDefinition Width="*" />
|
<ColumnDefinition Width="*" />
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<TextBlock Name="tPre" Text="Prénom" Grid.Row="1" VerticalAlignment="Center" />
|
<TextBlock x:Name="tPre" Text="Prénom" Grid.Row="1" VerticalAlignment="Center" />
|
||||||
<TextBox Name="tbPre" Grid.Row="1" Grid.Column="1" Margin="3"
|
<TextBox x:Name="tbPre" Grid.Row="1" Grid.Column="1" Margin="3"
|
||||||
Text="{Binding Path=UnePersonne.Pre, Mode=TwoWay}" />
|
Text="{Binding UnBeneficiaire.Pre, Mode=TwoWay}" />
|
||||||
<TextBlock Name="tNom" Text="Nom" Grid.Row="2" VerticalAlignment="Center" />
|
<TextBlock x:Name="tNom" Text="Nom" Grid.Row="2" VerticalAlignment="Center" />
|
||||||
<TextBox Name="tbNom" Grid.Row="2" Grid.Column="1" Margin="3"
|
<TextBox x:Name="tbNom" Grid.Row="2" Grid.Column="1" Margin="3"
|
||||||
Text="{Binding Path=UnePersonne.Nom, Mode=TwoWay}" />
|
Text="{Binding UnBeneficiaire.Nom, Mode=TwoWay}" />
|
||||||
<TextBlock Name="tNai" Text="Date Naissance" Grid.Row="3" VerticalAlignment="Center" />
|
<TextBlock x:Name="tNai" Text="Date Naissance" Grid.Row="3" VerticalAlignment="Center" />
|
||||||
<DatePicker Name="dpNai" Grid.Row="3" Grid.Column="1" Margin="3"
|
<DatePicker x:Name="dpNai" Grid.Row="3" Grid.Column="1" Margin="3"
|
||||||
Text="{Binding Path=UnePersonne.Nai, Mode=TwoWay}"
|
Text="{Binding UnBeneficiaire.Nai, Mode=TwoWay}"
|
||||||
DisplayDate="{Binding Path=UnePersonne.Nai, Mode=TwoWay}" />
|
DisplayDate="{Binding UnBeneficiaire.Nai, Mode=TwoWay}" />
|
||||||
|
<TextBlock x:Name="tImg" Text="Photo" Grid.Row="4" VerticalAlignment="Center" Margin="0,56,0,10" />
|
||||||
|
<DockPanel Margin="10,10,10,10" Grid.Row="4" Grid.Column="1">
|
||||||
|
<WrapPanel HorizontalAlignment="Right" DockPanel.Dock="Top" >
|
||||||
|
<Image x:Name="ImageFile" Height="40" HorizontalAlignment="Right" VerticalAlignment="Top" Width="90"/>
|
||||||
|
<Button x:Name="btnOpenFile" HorizontalAlignment="Right" Click="btnOpenFile_Click" Content="Open file"/>
|
||||||
|
</WrapPanel>
|
||||||
|
<TextBox x:Name="txtEditor" />
|
||||||
|
|
||||||
|
</DockPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
<StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center">
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="678,237,78,140" Width="190">
|
||||||
<Button Name="bConfirmer" Content="Confirmer" Margin="3" IsEnabled="{Binding Path=ActiverUneFiche, Mode=OneWay}"
|
<Button x:Name="bConfirmer" Content="Confirmer" Margin="3" IsEnabled="{Binding ActiverUneFiche, Mode=OneWay}"
|
||||||
Command="{Binding cConfirmer}" />
|
Command="{Binding cConfirmer}" />
|
||||||
<Button Name="bAnnuler" Content="Annuler" Margin="3" IsEnabled="{Binding Path=ActiverUneFiche, Mode=OneWay}"
|
<Button x:Name="bAnnuler" Content="Annuler" Margin="3,16,3,17" IsEnabled="{Binding ActiverUneFiche, Mode=OneWay}"
|
||||||
Command="{Binding cAnnuler}" />
|
Command="{Binding cAnnuler}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<DataGrid ItemsSource="{Binding Path=BcpPersonnes}" Grid.Row="2" VerticalScrollBarVisibility="Visible"
|
<DataGrid ItemsSource="{Binding BcpBeneficiaire}" VerticalScrollBarVisibility="Visible"
|
||||||
IsReadOnly="True" AutoGenerateColumns="False" IsEnabled="{Binding Path=ActiverBcpFiche, Mode=OneWay}"
|
IsReadOnly="True" AutoGenerateColumns="False" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
||||||
SelectedItem="{Binding PersonneSelectionnee, Mode=TwoWay}" >
|
SelectedItem="{Binding BeneficiaireSelectionnee, Mode=TwoWay}" Margin="88,82,566,149" >
|
||||||
<DataGrid.Columns>
|
<DataGrid.Columns>
|
||||||
<DataGridTextColumn Visibility="Hidden" Binding="{Binding Path=ID}" />
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID}" />
|
||||||
<DataGridTextColumn Header="Prénom" Binding="{Binding Path=Pre}" Width="*" />
|
<DataGridTextColumn Header="Prénom" Binding="{Binding Pre}" Width="*" />
|
||||||
<DataGridTextColumn Header="Nom" Binding="{Binding Path=Nom}" Width="*" />
|
<DataGridTextColumn Header="Nom" Binding="{Binding Nom}" Width="*" />
|
||||||
</DataGrid.Columns>
|
</DataGrid.Columns>
|
||||||
</DataGrid>
|
</DataGrid>
|
||||||
<StackPanel Orientation="Horizontal" Grid.Row="3" HorizontalAlignment="Center">
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="88,331,576,46" Width="282">
|
||||||
<Button Name="bAjouter" Content="Ajouter" Margin="3" IsEnabled="{Binding Path=ActiverBcpFiche, Mode=OneWay}"
|
<Button x:Name="bAjouter" Content="Ajouter" Margin="3" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
||||||
Command="{Binding cAjouter}" />
|
Command="{Binding cAjouter}" />
|
||||||
<Button Name="bModifier" Content="Modifier" Margin="3" IsEnabled="{Binding Path=ActiverBcpFiche, Mode=OneWay}"
|
<Button x:Name="bModifier" Content="Modifier" Margin="3" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
||||||
Command="{Binding cModifier}" />
|
Command="{Binding cModifier}" />
|
||||||
<Button Name="bSupprimer" Content="Supprimer" Margin="3" IsEnabled="{Binding Path=ActiverBcpFiche, Mode=OneWay}"
|
<Button x:Name="bSupprimer" Content="Supprimer" Margin="3" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
|
||||||
Command="{Binding cSupprimer}" />
|
Command="{Binding cSupprimer}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
<Button x:Name="BtnQuitter" Content="Quitter" HorizontalAlignment="Left" Margin="810,403,0,0" VerticalAlignment="Top" Width="92" Click="BtnQuitter_Click" Height="26"/>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
|
|
@ -11,6 +11,8 @@ using System.Windows.Input;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
using System.IO;
|
||||||
|
using Microsoft.Win32;
|
||||||
|
|
||||||
namespace ProjetTheAlone.View
|
namespace ProjetTheAlone.View
|
||||||
{
|
{
|
||||||
|
@ -22,6 +24,29 @@ namespace ProjetTheAlone.View
|
||||||
public FicBeneficiaireEncode()
|
public FicBeneficiaireEncode()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
// DataContext = new ViewModel.VM_Beneficiaire();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void BtnQuitter_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnOpenFile_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
OpenFileDialog openFileDialog = new OpenFileDialog();
|
||||||
|
openFileDialog.Filter = "Image files (*.png;*.jpeg)|*.png;*.jpeg|All files (*.*)|*.*";
|
||||||
|
if (openFileDialog.ShowDialog() == true)
|
||||||
|
{ string FileName = openFileDialog.FileName;
|
||||||
|
|
||||||
|
txtEditor.Text = FileName;
|
||||||
|
|
||||||
|
//FileStream fs = new System.IO.FileStream(@""+FileName+"", FileMode.Open, FileAccess.Read);
|
||||||
|
//BinaryReader br = new BinaryReader(fs);
|
||||||
|
//byte[] result = br.ReadBytes((int)fs.Length);
|
||||||
|
|
||||||
|
ImageFile.Source = new BitmapImage(new Uri(@"" + FileName + ""));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,19 +7,18 @@
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="FicRepas" Height="491.666" Width="1137.834" WindowStartupLocation="CenterScreen" WindowStyle="None">
|
Title="FicRepas" Height="491.666" Width="1137.834" WindowStartupLocation="CenterScreen" WindowStyle="None">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Button x:Name="btnQuitter" Margin="974,427,29,26"
|
<Button x:Name="btnQuitter" Margin="974,414,29,25"
|
||||||
Content="Quitter" RenderTransformOrigin="0.017,0.519" Click="btnQuitter_Click">
|
Content="Quitter" RenderTransformOrigin="0.017,0.519" Click="btnQuitter_Click" Height="Auto"/>
|
||||||
<Button.RenderTransform>
|
|
||||||
<TransformGroup>
|
<StackPanel Margin="544,117,444,202">
|
||||||
<ScaleTransform/>
|
<Label Content="Type de plat" FontFamily="Calibri" FontSize="16" Height="40"/>
|
||||||
<SkewTransform AngleY="0.047"/>
|
<CheckBox Name="CheckSoupe" Content="Soupe" FontFamily="Calibri" FontSize="14" Height="40" Checked="CheckSoupe_Checked"/>
|
||||||
<RotateTransform Angle="0.162"/>
|
<CheckBox Name="CheckPlatP" Content="Plat principal" FontFamily="Calibri" FontSize="14" Height="40" Checked="CheckPlatP_Checked"/>
|
||||||
<TranslateTransform/>
|
<CheckBox Name="CheckDessert" Content="Dessert" FontFamily="Calibri" FontSize="14" Height="40" Checked="CheckDessert_Checked"/>
|
||||||
</TransformGroup>
|
</StackPanel>
|
||||||
</Button.RenderTransform>
|
|
||||||
</Button>
|
<Calendar HorizontalAlignment="Left" Margin="51,103,0,0" VerticalAlignment="Top"/>
|
||||||
<Calendar HorizontalAlignment="Left" Margin="32,16,0,0" VerticalAlignment="Top"/>
|
<ListView x:Name="lvPlat" Margin="352,107,609,215">
|
||||||
<ListView x:Name="lvPlat" Margin="334,39,627,283">
|
|
||||||
<ListView.View>
|
<ListView.View>
|
||||||
<GridView>
|
<GridView>
|
||||||
<GridViewColumn Width="160" Header="Plats"/>
|
<GridViewColumn Width="160" Header="Plats"/>
|
||||||
|
@ -27,6 +26,7 @@
|
||||||
</GridView>
|
</GridView>
|
||||||
</ListView.View>
|
</ListView.View>
|
||||||
</ListView>
|
</ListView>
|
||||||
|
<Label Content="Repas" HorizontalAlignment="Left" Margin="51,30,0,0" VerticalAlignment="Top" FontFamily="Calibri" FontSize="20"/>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
|
@ -28,5 +28,23 @@ namespace ProjetTheAlone.View
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void CheckSoupe_Checked(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
CheckPlatP.IsChecked = false;
|
||||||
|
CheckDessert.IsChecked = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CheckPlatP_Checked(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
CheckDessert.IsChecked = false;
|
||||||
|
CheckSoupe.IsChecked = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CheckDessert_Checked(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
CheckPlatP.IsChecked = false;
|
||||||
|
CheckSoupe.IsChecked = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
BIN
script.sql
BIN
script.sql
Binary file not shown.
Loading…
Reference in New Issue