EventType events = db.EventType.Single(f => f.eventTypeID == eventTypeID);
EventType events = (from f in db.EventType where f.eventTypeID == eventTypeID select f).Single();
EventType events = (EventType)(db.EventType.SingleOrDefault(f => f.eventTypeID == eventTypeID));
SingleOrDefault()
Single(
EventType events = db.EventType.SingleOrDefault(f => f.eventTypeID == eventTypeID);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)