示例#1
0
文件: Event.cs 项目: kvnhein/Gathr
 public static void UpdateEventIsDelete(Guid EventId, bool IsDelete)
 {
     using (GatheringsEntities _db = new GatheringsEntities())
     {
         _db.ef_UpdateEvent(EventId, null, null, null, null, null, null, null, IsDelete);
     }
 }
示例#2
0
文件: Event.cs 项目: kvnhein/Gathr
 public static void UpdateEventPublic(Guid EventId, bool isPublic)
 {
     using (GatheringsEntities _db = new GatheringsEntities())
     {
         _db.ef_UpdateEvent(EventId, null, null, null, null, null, null, isPublic, null);
     }
 }
示例#3
0
文件: Event.cs 项目: kvnhein/Gathr
 public static void UpdateEventVenueByVenueId(Guid EventId, Guid VenueId)
 {
     using (GatheringsEntities _db = new GatheringsEntities())
     {
         _db.ef_UpdateEvent(EventId, null, null, null, null, null, VenueId, null, null);
     }
 }
示例#4
0
文件: Event.cs 项目: kvnhein/Gathr
 public static void UpdateEventEndDate(Guid EventId, DateTime EndDate)
 {
     using (GatheringsEntities _db = new GatheringsEntities())
     {
         _db.ef_UpdateEvent(EventId, null, null, null, null, EndDate, null, null, null);
     }
 }
示例#5
0
文件: Event.cs 项目: kvnhein/Gathr
 public static void UpdateEventImage(Guid EventId, string Image)
 {
     using (GatheringsEntities _db = new GatheringsEntities())
     {
         _db.ef_UpdateEvent(EventId, null, null, Image, null, null, null, null, null);
     }
 }
示例#6
0
文件: Event.cs 项目: kvnhein/Gathr
 public static void UpdateEventDescription(Guid EventId, string Description)
 {
     using (GatheringsEntities _db = new GatheringsEntities())
     {
         _db.ef_UpdateEvent(EventId, null, Description, null, null, null, null, null, null);
     }
 }