public ActionResult InnerEdit(PictureGroup group)
 {
     BizPictureGroup.UpdateAll(group);
     return RedirectToAction("Index", new { id = group.GroupID });
 }
 public ActionResult Create(PictureGroup group)
 {
     if(group.OrderInCategory == null)
         group.OrderInCategory = 0;
     group.IsPublished = (int)EnumPublishState.未发布;
     group.DefineType = (int)EnumDefineType.None;
     group.AddTime = DateTime.Now;
     BizPictureGroup.Insert(group);
     return RedirectToAction("Index", "AdminPictureCategory", new { id = group.CategoryID });
 }
 public ActionResult Edit(PictureGroup group)
 {
     BizPictureGroup.UpdateAll(group);
     return RedirectToAction("Index", "AdminPictureCategory", new { id = group.CategoryID });
 }
Пример #4
0
 partial void UpdatePictureGroup(PictureGroup instance);
Пример #5
0
 partial void InsertPictureGroup(PictureGroup instance);
Пример #6
0
		private void detach_PictureGroup(PictureGroup entity)
		{
			this.SendPropertyChanging();
			entity.SourceFrom = null;
		}
Пример #7
0
		private void detach_PictureGroup(PictureGroup entity)
		{
			this.SendPropertyChanging();
			entity.PictureCategory = null;
		}
Пример #8
0
 partial void DeletePictureGroup(PictureGroup instance);