From 770736f730cfd0f9b4f79e5525619b53bcc5a2b4 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 26 Aug 2024 10:50:23 +0000 Subject: [PATCH] Docs changes --- readme.md | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/readme.md b/readme.md index 1832c75..4705ed4 100644 --- a/readme.md +++ b/readme.md @@ -119,9 +119,9 @@ Will result in the following verified file: Type: ReaderExecutedAsync, HasTransaction: false, Text: -SELECT [c].[Id], [c].[Content] +SELECT [c].[Id], [c].[Name] FROM [Companies] AS [c] -WHERE [c].[Content] = N'Title' +WHERE [c].[Name] = N'Title' } } ``` @@ -202,21 +202,21 @@ await Verify(); HasTransaction: false, Parameters: { @p0 (Int32): 0, - @p1 (String?): Title + @p1 (String): Title }, Text: SET IMPLICIT_TRANSACTIONS OFF; SET NOCOUNT ON; -INSERT INTO [Companies] ([Id], [Content]) +INSERT INTO [Companies] ([Id], [Name]) VALUES (@p0, @p1); }, { Type: ReaderExecutedAsync, HasTransaction: false, Text: -SELECT [c].[Id], [c].[Content] +SELECT [c].[Id], [c].[Name] FROM [Companies] AS [c] -WHERE [c].[Content] = N'Title' +WHERE [c].[Name] = N'Title' } ] } @@ -262,9 +262,9 @@ await Verify(); Type: ReaderExecutedAsync, HasTransaction: false, Text: -SELECT [c].[Id], [c].[Content] +SELECT [c].[Id], [c].[Name] FROM [Companies] AS [c] -WHERE [c].[Content] = N'Title' +WHERE [c].[Name] = N'Title' } } ``` @@ -310,7 +310,7 @@ Will result in the following verified file: Added: { Company: { Id: 0, - Content: before + Name: company name } } } @@ -400,9 +400,9 @@ Will result in the following verified file: Modified: { Company: { Id: 0, - Content: { - Original: before, - Current: after + Name: { + Original: old name, + Current: new name } } } @@ -439,7 +439,7 @@ Will result in the following verified files: ```txt [ { - Content: value + Name: company name } ] ``` @@ -452,9 +452,9 @@ Will result in the following verified files: ```sql -SELECT [c].[Id], [c].[Content] +SELECT [c].[Id], [c].[Name] FROM [Companies] AS [c] -WHERE [c].[Content] = N'value' +WHERE [c].[Name] = N'company name' ``` snippet source | anchor @@ -502,42 +502,42 @@ Will result in the following verified file with all data in the database: { $type: Company, Id: 1, - Content: Company1 + Name: Company1 }, { $type: Company, Id: 4, - Content: Company2 + Name: Company2 }, { $type: Company, Id: 6, - Content: Company3 + Name: Company3 }, { $type: Company, Id: 7, - Content: Company4 + Name: Company4 }, { $type: Employee, Id: 2, CompanyId: 1, - Content: Employee1, + Name: Employee1, Age: 25 }, { $type: Employee, Id: 3, CompanyId: 1, - Content: Employee2, + Name: Employee2, Age: 31 }, { $type: Employee, Id: 5, CompanyId: 4, - Content: Employee4, + Name: Employee4, Age: 34 } ]