Comment utiliser les transactions avec Entity Framework?

Lorsque vous avez un code comme ceci:

Something something = new Something();
BlahEntities b = new BlahEntities()    
b.AddToSomethingSet(something);
b.SaveChanges();

comment courir que plus de l'intérieur d'une transaction?

InformationsquelleAutor pupeno | 2009-06-28