partial void DeletePersonne(Personne instance);
 partial void InsertPersonne(Personne instance);
 partial void UpdatePersonne(Personne instance);
예제 #4
0
파일: DAL.cs 프로젝트: Matmatah/projet.Net
        public static void AddPersonne(string m, string pwd, string n, string pr, string t)
        {
            Personne p = new Personne
            {
                Mail = m,
                Password = pwd,
                Nom = n,
                Prenom = pr,
                Type = t
            };

            InstanceDC.Personnes.InsertOnSubmit(p);
            InstanceDC.SubmitChanges();
        }