Nuevas respuestas con la etiqueta .net-core
0
podrias usar la siguiente instruccion:
using (TransactionScope Inserta = new TransactionScope())
{
try
{//instruccion que inserta en la tablas
Inserta.Complete(); //Este es parecido al commit tran}
}
catch (Exception ex)
...
Se incluyen las 50 respuestas más recientes
Etiquetas relacionadas
.net-core × 129c# × 65
asp.net-core × 48
.net × 21
entity-framework-core × 17
asp.net-mvc × 13
asp.net × 12
visual-studio × 9
asp.net-web-api × 9
sql-server × 6
entity-framework × 6
api × 5
linq × 5
identity × 5
angular × 4
mysql × 3
sql × 3
linux × 3
mvc × 3
visual-studio-2017 × 3
net × 3
dotnetcore × 3
javascript × 2
json × 2
wpf × 2