Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4f7f256

Browse files
committed
Ajustes.
1 parent 205682f commit 4f7f256

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Logging/LogEntry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public LogEntry()
5252

5353
public string Sql { get; set; }
5454

55-
public string SqlParam { get; set; }
55+
public string Params { get; set; }
5656

5757
public string OriginalProperties { get; set; }
5858

Logging/Logger.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Excep
6262
info.MethodName = item.Value.ToString();
6363
else if (item.Key == "sql")
6464
info.Sql = item.Value.ToString();
65-
else if (item.Key == "sqlParam")
66-
info.SqlParam = item.Value.ToString();
65+
else if (item.Key == "params")
66+
info.Params = item.Value.ToString();
6767
}
6868

6969
info.OriginalProperties = Properties.ToString();

Logging/Tolitech.CodeGenerator.Logging.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
6-
<Version>1.0.0-alpha3</Version>
6+
<Version>1.0.0-alpha4</Version>
77
<Authors>Tolitech</Authors>
88
<Company>Tolitech</Company>
99
<Product>Tolitech Code Generator</Product>

0 commit comments

Comments
 (0)