예제 #1
0
        private XElement ConvertSpecialization(BE.specialization specialization)
        {
            XElement newpecialization = new XElement("specialisation",
                                                     new XElement("specialization_id", specialization.specialization_id),
                                                     new XElement("discipline", specialization.discipline),
                                                     new XElement("expertise", specialization.expertise),
                                                     new XElement("minWage", specialization.minWage),
                                                     new XElement("maxWage", specialization.maxWage)
                                                     );

            return(newpecialization);
        }
예제 #2
0
        //  public string recommendation { get; set; }
        //  public int mispar_iskote { get; set; }
        //public int remuneration { get; set; } // sahare

        public Employee(string lastname_ = null, string value2 = null, DateTime dateTime = default(DateTime), int v1 = 0, int v2 = 0, int v3 = 0, bool v4 = false, string value3 = null, Degree degree = 0, specialization specialization = default(specialization), int v5 = 0)
        {
            this.lastName  = lastname_;
            this.firstName = value2;
            this.birthDate = dateTime;
            this.age       = v1;
            this.ID        = v2;
            this.phone     = v3;
            this.veteran   = v4;
            this.adress    = value3;
            this.degree    = degree;
            //   this.bankdetails = bank;
            this.specialite = specialization;
            this.experience = v5;
            //    this.mispar_iskote = v6;
            // this.recommendation = value4;
        }