Ejemplo n.º 1
0
        public static void AddIntervention(string e, string c, DateTime d, int def, string p)
        {
            Intervention i = new Intervention
            {
                Etat = e,
                Commentaire = c,
                DateIntervention = d,
                IdDefaut = def,
                Mail = p
            };

            InstanceDC.Interventions.InsertOnSubmit(i);
            InstanceDC.SubmitChanges();
        }
Ejemplo n.º 2
0
		private void detach_Interventions(Intervention entity)
		{
			this.SendPropertyChanging();
			entity.Personne = null;
		}
Ejemplo n.º 3
0
 partial void DeleteIntervention(Intervention instance);
Ejemplo n.º 4
0
 partial void UpdateIntervention(Intervention instance);
Ejemplo n.º 5
0
 partial void InsertIntervention(Intervention instance);
Ejemplo n.º 6
0
		private void attach_Interventions(Intervention entity)
		{
			this.SendPropertyChanging();
			entity.Defaut = this;
		}