private void CreerClone() { if (base.Clone == null) { clg_SQA_SEQUENCE_ACTION l_clone = new clg_SQA_SEQUENCE_ACTION(base.c_ID, true); l_clone.Initialise(c_SQA_CN, c_SQA_A_LIBELLE, c_SQA_A_COMMENTAIRE); } }
public void Initialise() { clg_JeuEnregistrement l_rds; string l_MsgErr = ""; string l_ordreSQL = "SELECT SQA_CN, SQA_A_LIBELLE, SQA_A_COMMENTAIRE FROM SQA_SEQUENCE_ACTION"; l_rds = clg_Controleur.c_cnx.GetObjConnexion.ExecuteSELECT(l_ordreSQL, ref l_MsgErr); for (int i = 0; i <= l_rds.NombreLignes - 1; i++) { clg_SQA_SEQUENCE_ACTION l_Objet; l_Objet = new clg_SQA_SEQUENCE_ACTION(clg_ChargementBase.Cnn.RetourneCompteurFormate("SQA_CN", clg_SQA_SEQUENCE_ACTION.ID_Table, long.Parse(clg_Modele.ValeurDonnee(l_rds.get_Donnee(i, 0)).ToString()))); l_Objet.Initialise( Int32.Parse(clg_Modele.ValeurDonnee(l_rds.get_Donnee(i, 0)).ToString()), clg_Modele.ValeurDonnee(l_rds.get_Donnee(i, 1)).ToString(), clg_Modele.ValeurDonnee(l_rds.get_Donnee(i, 2)).ToString()); clg_Controleur.c_ColObjet.Add(l_Objet.ID, l_Objet); } }