partial void Deletecurso(curso instance);
 partial void Updatecurso(curso instance);
 partial void Insertcurso(curso instance);
		private void detach_curso(curso entity)
		{
			this.SendPropertyChanging();
			entity.publicacion = null;
		}
		private void attach_curso(curso entity)
		{
			this.SendPropertyChanging();
			entity.publicacion = this;
		}
示例#6
0
 public void regcurso(int idUs)
 {
     curso libro = new curso()
     {
         idPublicacion = idUs
     };
     db.curso.InsertOnSubmit(libro);
     db.SubmitChanges();
 }