Exemplo n.º 1
0
 public ActionResult AddContentRelation(ContentRelation contentRelation)
 {
     DBNLDataContext db = new DBNLDataContext();
     db.ContentRelations.InsertOnSubmit(contentRelation);
     db.SubmitChanges();
     return RedirectToAction("ListContentRelations");
 }
Exemplo n.º 2
0
		private void detach_ContentRelations1(ContentRelation entity)
		{
			this.SendPropertyChanging();
			entity.Content1 = null;
		}
Exemplo n.º 3
0
		private void attach_ContentRelations(ContentRelation entity)
		{
			this.SendPropertyChanging();
			entity.Content = this;
		}
Exemplo n.º 4
0
 partial void DeleteContentRelation(ContentRelation instance);
Exemplo n.º 5
0
 partial void UpdateContentRelation(ContentRelation instance);
Exemplo n.º 6
0
 partial void InsertContentRelation(ContentRelation instance);