|
|
@@ -19,6 +19,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
public delegate IList<Investissement> dlgLoadInvestissement(string codeRNE, int annee);
|
|
|
public delegate IList<EffectifDetail> dlgLoadEffectifDetail(string codeRNE, int annee);
|
|
|
public delegate MCG dlgLoadMCG(string codeRNE);
|
|
|
+ public delegate IList<Canton> dlgLoadCanton(string codeRNE);
|
|
|
public delegate Logement dlgLoadLogement(string codeRNE);
|
|
|
// public delegate IList<ProgTravaux> dlgLoadProgTravaux(string codeRNE, int annee);
|
|
|
public delegate IList<ProjetPilote> dlgLoadProjetPilote(string codeRNE, int annee);
|
|
|
@@ -44,6 +45,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
private dlgLoadInvestissement LoaderInvestissement;
|
|
|
private dlgLoadEffectifDetail LoaderEffectifDetail;
|
|
|
private dlgLoadMCG LoaderMCG;
|
|
|
+ private dlgLoadCanton LoaderCanton;
|
|
|
private dlgLoadLogement LoaderLogement;
|
|
|
// private dlgLoadProgTravaux LoaderProgTravaux;
|
|
|
private dlgLoadProjetPilote LoaderProjetPilote;
|
|
|
@@ -147,6 +149,10 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// MCG de rattachement de l'établissement
|
|
|
/// </summary>
|
|
|
private MCG mMcgRattachement;
|
|
|
+
|
|
|
+ /// Canton de rattachement de l'établissement
|
|
|
+ /// </summary>
|
|
|
+ private IList<Canton> mLstCanton;
|
|
|
/// <summary>
|
|
|
/// Logement de fonction
|
|
|
/// </summary>
|
|
|
@@ -503,6 +509,17 @@ namespace CG67.FicheCollege.Domaine
|
|
|
}
|
|
|
set { mMcgRattachement = value; }
|
|
|
}
|
|
|
+
|
|
|
+ public IList<Canton> LstCanton
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ if (mLstCanton == null)
|
|
|
+ mLstCanton = this.LoaderCanton(mCodeRNE);
|
|
|
+ return mLstCanton;
|
|
|
+ }
|
|
|
+ set { mLstCanton = value; }
|
|
|
+ }
|
|
|
/// <summary>
|
|
|
/// Obtient ou définit un objet Logement
|
|
|
/// </summary>
|
|
|
@@ -1174,7 +1191,8 @@ namespace CG67.FicheCollege.Domaine
|
|
|
dlgLoadDotation loaderDotation,
|
|
|
dlgLoadInvestissementDCE loaderInvestissementDCE,
|
|
|
dlgLoadInvestissement loaderInvestissement,
|
|
|
- dlgLoadEffectifDetail loaderEffectifDetail,
|
|
|
+ dlgLoadEffectifDetail loaderEffectifDetail,
|
|
|
+ dlgLoadCanton loaderCanton,
|
|
|
dlgLoadMCG loaderMCG, dlgLoadLogement loaderLogement,
|
|
|
// dlgLoadProgTravaux loaderProgTravaux,
|
|
|
dlgLoadProjetPilote loaderProjetPilote,
|
|
|
@@ -1217,6 +1235,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
this.LoaderInvestissement = loaderInvestissement;
|
|
|
this.LoaderEffectifDetail = loaderEffectifDetail;
|
|
|
this.LoaderMCG = loaderMCG;
|
|
|
+ this.LoaderCanton = loaderCanton;
|
|
|
this.LoaderLogement = loaderLogement;
|
|
|
// this.LoaderProgTravaux = loaderProgTravaux;
|
|
|
this.LoaderProjetPilote = loaderProjetPilote;
|