public TeamWithPlayers TeamGetByIdWithPlayers(int id)
{
// Attempt to fetch the object
var o = ds.Teams.Include("Players").SingleOrDefault(t => t.Id == id);
// Return the result, or null if not found
return (o == null) ? null : Mapper.Map<TeamWithPlayers>(o);
}