partial void DeletePost(Post instance);
 partial void InsertPost(Post instance);
 partial void UpdatePost(Post instance);
示例#4
0
 public ActionResult Index(Post post)
 {
     return Json(post);
 }
		private void detach_Posts(Post entity)
		{
			this.SendPropertyChanging();
			entity.PostType = null;
		}
		private void attach_Posts(Post entity)
		{
			this.SendPropertyChanging();
			entity.PostType = this;
		}
		private void detach_Posts1(Post entity)
		{
			this.SendPropertyChanging();
			entity.User1 = null;
		}
		private void attach_Posts1(Post entity)
		{
			this.SendPropertyChanging();
			entity.User1 = this;
		}