Пример #1
0
		private void detach_Dolznost_Resume(Dolznost_Resume entity)
		{
			this.SendPropertyChanging();
			entity.Dolznost = null;
		}
Пример #2
0
 partial void DeleteDolznost_Resume(Dolznost_Resume instance);
Пример #3
0
 partial void UpdateDolznost_Resume(Dolznost_Resume instance);
Пример #4
0
 partial void InsertDolznost_Resume(Dolznost_Resume instance);
Пример #5
0
		private void attach_Dolznost_Resume(Dolznost_Resume entity)
		{
			this.SendPropertyChanging();
			entity.Resume = this;
		}
Пример #6
0
        public void AddStudReg(RegistrData obj)
        {
            Resume res = new Resume()
            {
               DataPrinytiya = obj.Data,
               idStatus =obj.idStatus,
               idStud = obj.idStud

            };

            Console.Write(obj.Data);
            Console.Write(obj.idStatus);
            ugtu_db.Resume.InsertOnSubmit(res);

            ugtu_db.SubmitChanges();
            int idres=ugtu_db.Resume.Select(resume => resume.idResume).Max();
            Dolznost_Resume DR = new Dolznost_Resume()
            {
                idDolznost = obj.IDDolznost,
                idResume = idres
            };
            ugtu_db.Dolznost_Resume.InsertOnSubmit(DR);
            ugtu_db.SubmitChanges();
        }