@@ -20,7 +20,7 @@ public static class Consts
2020 public const string GenericQuote2 = "\" Only 2 things are infinite, the universe and human stupidity\" " ;
2121
2222 public static readonly string CreateBojackAuthor = $$ """
23- await this.QuerySql.CreateAuthor (new QuerySql.CreateAuthorArgs
23+ await this.QuerySql.CreateAuthorAsync (new QuerySql.CreateAuthorArgs
2424 {
2525 Id = {{ BojackId }} ,
2626 Name = {{ BojackAuthor }} ,
@@ -29,23 +29,23 @@ await this.QuerySql.CreateAuthor(new QuerySql.CreateAuthorArgs
2929 """ ;
3030
3131 public const string CreateBojackAuthorWithId = $$ """
32- var bojackId = await this.QuerySql.CreateAuthorReturnId (new QuerySql.CreateAuthorReturnIdArgs
32+ var bojackId = await this.QuerySql.CreateAuthorReturnIdAsync (new QuerySql.CreateAuthorReturnIdArgs
3333 {
3434 Name = {{ BojackAuthor }} ,
3535 Bio = {{ BojackTheme }}
3636 });
3737 """ ;
3838
3939 public const string CreateBookByBojack = $$ """
40- var bojackBookId = await QuerySql.CreateBook (new QuerySql.CreateBookArgs
40+ var bojackBookId = await QuerySql.CreateBookAsync (new QuerySql.CreateBookArgs
4141 {
4242 Name = {{ BojackBookTitle }} ,
4343 AuthorId = bojackId
4444 });
4545 """ ;
4646
4747 public static readonly string CreateDrSeussAuthor = $$ """
48- await this.QuerySql.CreateAuthor (new QuerySql.CreateAuthorArgs
48+ await this.QuerySql.CreateAuthorAsync (new QuerySql.CreateAuthorArgs
4949 {
5050 Id = {{ DrSeussId }} ,
5151 Name = {{ DrSeussAuthor }} ,
@@ -54,31 +54,31 @@ await this.QuerySql.CreateAuthor(new QuerySql.CreateAuthorArgs
5454 """ ;
5555
5656 public const string CreateDrSeussAuthorWithId = $$ """
57- var drSeussId = await this.QuerySql.CreateAuthorReturnId (new QuerySql.CreateAuthorReturnIdArgs
57+ var drSeussId = await this.QuerySql.CreateAuthorReturnIdAsync (new QuerySql.CreateAuthorReturnIdArgs
5858 {
5959 Name = {{ DrSeussAuthor }} ,
6060 Bio = {{ DrSeussQuote }}
6161 });
6262 """ ;
6363
6464 public const string CreateBookByDrSeuss = $$ """
65- var drSeussBookId = await QuerySql.CreateBook (new QuerySql.CreateBookArgs
65+ var drSeussBookId = await QuerySql.CreateBookAsync (new QuerySql.CreateBookArgs
6666 {
6767 AuthorId = drSeussId,
6868 Name = {{ DrSeussBookTitle }}
6969 });
7070 """ ;
7171
7272 public const string CreateFirstGenericAuthor = $$ """
73- var id1 = await this.QuerySql.CreateAuthorReturnId (new QuerySql.CreateAuthorReturnIdArgs
73+ var id1 = await this.QuerySql.CreateAuthorReturnIdAsync (new QuerySql.CreateAuthorReturnIdArgs
7474 {
7575 Name = {{ GenericAuthor }} ,
7676 Bio = {{ GenericQuote1 }}
7777 });
7878 """ ;
7979
8080 public const string CreateSecondGenericAuthor = $$ """
81- var id2 = await this.QuerySql.CreateAuthorReturnId (new QuerySql.CreateAuthorReturnIdArgs
81+ var id2 = await this.QuerySql.CreateAuthorReturnIdAsync (new QuerySql.CreateAuthorReturnIdArgs
8282 {
8383 Name = {{ GenericAuthor }} ,
8484 Bio = {{ GenericQuote2 }}
0 commit comments