diff --git a/Src/Asp.Net/SqlServerTest/Demo/Demo8_Saveable.cs b/Src/Asp.Net/SqlServerTest/Demo/Demo8_Saveable.cs index 3cf0c0716..31c0a583b 100644 --- a/Src/Asp.Net/SqlServerTest/Demo/Demo8_Saveable.cs +++ b/Src/Asp.Net/SqlServerTest/Demo/Demo8_Saveable.cs @@ -32,7 +32,7 @@ namespace OrmTest //insert or update var x1 = db.Storageable(new Order() { Id = 1, Name = "jack" }).ExecuteCommand(); - + var x11 = db.Storageable(new Order() { Id = 1, Name = "jack" }).ExecuteCommandAsync().GetAwaiter().GetResult(); //insert or update var x= db.Storageable(new Order() { Id=1, Name="jack" }).ToStorage(); x.AsUpdateable.ExecuteCommand();