Exemplo n.º 1
0
        static void Main(string[] args)
        {
            ApplicantEducationRepository repo = new ApplicantEducationRepository();
            var res = repo.GetSingle(x => x.Id == Guid.Parse("40FAA097-3A8C-E7A0-896C-1255EAC6A6D2"));

            repo.Remove(res);
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            ApplicantEducationRepository repo = new ApplicantEducationRepository();
            ApplicantEducationPoco       poco = new ApplicantEducationPoco();

            ApplicantEducationPoco[] Row = new ApplicantEducationPoco[] { poco };

            /*
             *
             * // Row[0].Id = Guid.NewGuid();
             * Row[0].Id = Guid.Parse("19D865A4-1CCD-0F2D-A757-0518E0B5E4A6");
             * Row[0].Applicant =Guid.Parse("1FC2F63C-08B1-7630-3858-00A0E7C57734");
             * Row[0].Major = "Superman";
             * Row[0].CertificateDiploma = "Diplom MSU";
             * Row[0].StartDate = DateTime.Now;
             * Row[0].CompletionDate = DateTime.Now;
             * Row[0].CompletionPercent = 99;
             * Console.WriteLine(String.Format("Id ={0} Applicant = {1} \nMajor = {2} CerDip = {3} StartDate = {4} CompDate = {5} CompPro = {6}",
             * Row[0].Id,Row[0].Applicant,Row[0].Major,Row[0].CertificateDiploma,Row[0].StartDate,Row[0].CompletionDate,Row[0].CompletionPercent));
             * Console.ReadLine();
             *
             * //repo.Remove(Row);
             * // repo.Add(Row);
             * //repo.Update(Row);
             * ApplicantEducationPoco Ro = repo.GetSingle(t => t.Id == Row[0].Id);
             * Console.WriteLine(String.Format("Id ={0} Applicant = {1} \nMajor = {2} CerDip = {3} StartDate = {4} CompDate = {5} CompPro = {6}",
             * Ro.Id, Ro.Applicant, Ro.Major, Ro.CertificateDiploma, Ro.StartDate, Ro.CompletionDate, Ro.CompletionPercent));
             * Console.ReadLine();
             */
        }
Exemplo n.º 3
0
        static void Main(string[] args)
        {
            ApplicantEducationRepository repo =
                new ApplicantEducationRepository();


            var result =
                repo.GetSingle(x => x.Id == Guid.Parse("0FC77D6E-134C-0D88-ACFE-4D10777B3712"));
        }
        public ApplicantEducationController()
        {
            ApplicantEducationRepository repo = new ApplicantEducationRepository();

            logic = new ApplicantEducationLogic(repo);
        }