예제 #1
0
파일: Event.cs 프로젝트: kvnhein/Gathr
 public static List <ef_GetEvent_Result> GetEventByThisUser()
 {
     using (GatheringsEntities _db = new GatheringsEntities())
     {
         return(_db.ef_GetEvent(null, currentUserID).ToList());
     }
 }
예제 #2
0
파일: Event.cs 프로젝트: kvnhein/Gathr
 public static List <ef_GetEvent_Result> GetEventByEventId(Guid eventID)
 {
     using (GatheringsEntities _db = new GatheringsEntities())
     {
         return(_db.ef_GetEvent(eventID, null).ToList());
     }
 }
예제 #3
0
파일: Event.cs 프로젝트: kvnhein/Gathr
 // Get
 public static List <ef_GetEvent_Result> GetAllEvents()
 {
     using (GatheringsEntities _db = new GatheringsEntities())
     {
         return(_db.ef_GetEvent(null, null).ToList());
     }
 }