public Message Load(int id) { using (MessagesRepository repo = new MessagesRepository(DataContext)) { return(repo.LoadOne <Message>(this, repo.GetItem(id))); } }