예제 #1
0
 public FichierStocke(int id, DateTime dateEnregistrement, string nom, string fileName, Client client, Garantie garantie,
                      StatutStockage statutStockage) : this(id)
 {
     DateEnregistrement = dateEnregistrement;
     Nom            = nom;
     FileName       = fileName;
     Client         = client;
     Garantie       = garantie;
     StatutStockage = statutStockage;
 }
예제 #2
0
        public void AjouterFichierStocke(string nom, string fileName, Client client, Garantie garantie, StatutStockage statutStockage, Employe employe)
        {
            operationBLO = new OperationBLO();

            fichierStockeBLO.Add(new FichierStocke(new IdentifiantBLO().IdFichierStocke, DateTime.Now, nom, fileName, client, garantie, statutStockage));

            operationBLO.AjouterOperation(TypeOperation.Ajout, employe, client, new CompteClient("Indefini"), garantie.MontantEvaluation, "toto tata");

            new IdentifiantBLO().AddIdFichierStocke();
        }