Initial Comit
This commit is contained in:
BIN
packages/Antlr4.Runtime.Standard.4.13.1/.signature.p7s
vendored
Normal file
BIN
packages/Antlr4.Runtime.Standard.4.13.1/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/Antlr4.Runtime.Standard.4.13.1/Antlr4.Runtime.Standard.4.13.1.nupkg
vendored
Normal file
BIN
packages/Antlr4.Runtime.Standard.4.13.1/Antlr4.Runtime.Standard.4.13.1.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/Antlr4.Runtime.Standard.4.13.1/lib/net45/Antlr4.Runtime.Standard.dll
vendored
Normal file
BIN
packages/Antlr4.Runtime.Standard.4.13.1/lib/net45/Antlr4.Runtime.Standard.dll
vendored
Normal file
Binary file not shown.
10372
packages/Antlr4.Runtime.Standard.4.13.1/lib/net45/Antlr4.Runtime.Standard.xml
vendored
Normal file
10372
packages/Antlr4.Runtime.Standard.4.13.1/lib/net45/Antlr4.Runtime.Standard.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Antlr4.Runtime.Standard.4.13.1/lib/netstandard2.0/Antlr4.Runtime.Standard.dll
vendored
Normal file
BIN
packages/Antlr4.Runtime.Standard.4.13.1/lib/netstandard2.0/Antlr4.Runtime.Standard.dll
vendored
Normal file
Binary file not shown.
10372
packages/Antlr4.Runtime.Standard.4.13.1/lib/netstandard2.0/Antlr4.Runtime.Standard.xml
vendored
Normal file
10372
packages/Antlr4.Runtime.Standard.4.13.1/lib/netstandard2.0/Antlr4.Runtime.Standard.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/HtmlAgilityPack.1.11.54/.signature.p7s
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/HtmlAgilityPack.1.11.54.nupkg
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/HtmlAgilityPack.1.11.54.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net35/HtmlAgilityPack.dll
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net35/HtmlAgilityPack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net35/HtmlAgilityPack.pdb
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net35/HtmlAgilityPack.pdb
vendored
Normal file
Binary file not shown.
3129
packages/HtmlAgilityPack.1.11.54/lib/Net35/HtmlAgilityPack.xml
vendored
Normal file
3129
packages/HtmlAgilityPack.1.11.54/lib/Net35/HtmlAgilityPack.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net40-client/HtmlAgilityPack.dll
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net40-client/HtmlAgilityPack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net40-client/HtmlAgilityPack.pdb
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net40-client/HtmlAgilityPack.pdb
vendored
Normal file
Binary file not shown.
3156
packages/HtmlAgilityPack.1.11.54/lib/Net40-client/HtmlAgilityPack.xml
vendored
Normal file
3156
packages/HtmlAgilityPack.1.11.54/lib/Net40-client/HtmlAgilityPack.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3156
packages/HtmlAgilityPack.1.11.54/lib/Net40/HtmlAgilityPack.XML
vendored
Normal file
3156
packages/HtmlAgilityPack.1.11.54/lib/Net40/HtmlAgilityPack.XML
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net40/HtmlAgilityPack.dll
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net40/HtmlAgilityPack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net40/HtmlAgilityPack.pdb
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net40/HtmlAgilityPack.pdb
vendored
Normal file
Binary file not shown.
3292
packages/HtmlAgilityPack.1.11.54/lib/Net45/HtmlAgilityPack.XML
vendored
Normal file
3292
packages/HtmlAgilityPack.1.11.54/lib/Net45/HtmlAgilityPack.XML
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net45/HtmlAgilityPack.dll
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net45/HtmlAgilityPack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net45/HtmlAgilityPack.pdb
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/Net45/HtmlAgilityPack.pdb
vendored
Normal file
Binary file not shown.
1855
packages/HtmlAgilityPack.1.11.54/lib/NetCore45/HtmlAgilityPack.XML
vendored
Normal file
1855
packages/HtmlAgilityPack.1.11.54/lib/NetCore45/HtmlAgilityPack.XML
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/HtmlAgilityPack.1.11.54/lib/NetCore45/HtmlAgilityPack.dll
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/NetCore45/HtmlAgilityPack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/NetCore45/HtmlAgilityPack.pdb
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/NetCore45/HtmlAgilityPack.pdb
vendored
Normal file
Binary file not shown.
1128
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.3/HtmlAgilityPack.deps.json
vendored
Normal file
1128
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.3/HtmlAgilityPack.deps.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.3/HtmlAgilityPack.dll
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.3/HtmlAgilityPack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.3/HtmlAgilityPack.pdb
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.3/HtmlAgilityPack.pdb
vendored
Normal file
Binary file not shown.
2815
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.3/HtmlAgilityPack.xml
vendored
Normal file
2815
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.3/HtmlAgilityPack.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1422
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.6/HtmlAgilityPack.deps.json
vendored
Normal file
1422
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.6/HtmlAgilityPack.deps.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.6/HtmlAgilityPack.dll
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.6/HtmlAgilityPack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.6/HtmlAgilityPack.pdb
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.6/HtmlAgilityPack.pdb
vendored
Normal file
Binary file not shown.
3133
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.6/HtmlAgilityPack.xml
vendored
Normal file
3133
packages/HtmlAgilityPack.1.11.54/lib/netstandard1.6/HtmlAgilityPack.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
47
packages/HtmlAgilityPack.1.11.54/lib/netstandard2.0/HtmlAgilityPack.deps.json
vendored
Normal file
47
packages/HtmlAgilityPack.1.11.54/lib/netstandard2.0/HtmlAgilityPack.deps.json
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETStandard,Version=v2.0/",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETStandard,Version=v2.0": {},
|
||||
".NETStandard,Version=v2.0/": {
|
||||
"HtmlAgilityPack/1.11.54": {
|
||||
"dependencies": {
|
||||
"NETStandard.Library": "2.0.3"
|
||||
},
|
||||
"runtime": {
|
||||
"HtmlAgilityPack.dll": {}
|
||||
}
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {},
|
||||
"NETStandard.Library/2.0.3": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"HtmlAgilityPack/1.11.54": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
||||
"path": "microsoft.netcore.platforms/1.1.0",
|
||||
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
|
||||
},
|
||||
"NETStandard.Library/2.0.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
|
||||
"path": "netstandard.library/2.0.3",
|
||||
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard2.0/HtmlAgilityPack.dll
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard2.0/HtmlAgilityPack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard2.0/HtmlAgilityPack.pdb
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/netstandard2.0/HtmlAgilityPack.pdb
vendored
Normal file
Binary file not shown.
3265
packages/HtmlAgilityPack.1.11.54/lib/netstandard2.0/HtmlAgilityPack.xml
vendored
Normal file
3265
packages/HtmlAgilityPack.1.11.54/lib/netstandard2.0/HtmlAgilityPack.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
2815
packages/HtmlAgilityPack.1.11.54/lib/uap10.0/HtmlAgilityPack.XML
vendored
Normal file
2815
packages/HtmlAgilityPack.1.11.54/lib/uap10.0/HtmlAgilityPack.XML
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/HtmlAgilityPack.1.11.54/lib/uap10.0/HtmlAgilityPack.dll
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/uap10.0/HtmlAgilityPack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/uap10.0/HtmlAgilityPack.pdb
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/uap10.0/HtmlAgilityPack.pdb
vendored
Normal file
Binary file not shown.
BIN
packages/HtmlAgilityPack.1.11.54/lib/uap10.0/HtmlAgilityPack.pri
vendored
Normal file
BIN
packages/HtmlAgilityPack.1.11.54/lib/uap10.0/HtmlAgilityPack.pri
vendored
Normal file
Binary file not shown.
BIN
packages/NLog.5.3.2/.signature.p7s
vendored
Normal file
BIN
packages/NLog.5.3.2/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/NLog.5.3.2/N.png
vendored
Normal file
BIN
packages/NLog.5.3.2/N.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
BIN
packages/NLog.5.3.2/NLog.5.3.2.nupkg
vendored
Normal file
BIN
packages/NLog.5.3.2/NLog.5.3.2.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/NLog.5.3.2/lib/net35/NLog.dll
vendored
Normal file
BIN
packages/NLog.5.3.2/lib/net35/NLog.dll
vendored
Normal file
Binary file not shown.
28616
packages/NLog.5.3.2/lib/net35/NLog.xml
vendored
Normal file
28616
packages/NLog.5.3.2/lib/net35/NLog.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/NLog.5.3.2/lib/net45/NLog.dll
vendored
Normal file
BIN
packages/NLog.5.3.2/lib/net45/NLog.dll
vendored
Normal file
Binary file not shown.
29115
packages/NLog.5.3.2/lib/net45/NLog.xml
vendored
Normal file
29115
packages/NLog.5.3.2/lib/net45/NLog.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/NLog.5.3.2/lib/net46/NLog.dll
vendored
Normal file
BIN
packages/NLog.5.3.2/lib/net46/NLog.dll
vendored
Normal file
Binary file not shown.
29155
packages/NLog.5.3.2/lib/net46/NLog.xml
vendored
Normal file
29155
packages/NLog.5.3.2/lib/net46/NLog.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/NLog.5.3.2/lib/netstandard1.3/NLog.dll
vendored
Normal file
BIN
packages/NLog.5.3.2/lib/netstandard1.3/NLog.dll
vendored
Normal file
Binary file not shown.
26929
packages/NLog.5.3.2/lib/netstandard1.3/NLog.xml
vendored
Normal file
26929
packages/NLog.5.3.2/lib/netstandard1.3/NLog.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/NLog.5.3.2/lib/netstandard1.5/NLog.dll
vendored
Normal file
BIN
packages/NLog.5.3.2/lib/netstandard1.5/NLog.dll
vendored
Normal file
Binary file not shown.
27939
packages/NLog.5.3.2/lib/netstandard1.5/NLog.xml
vendored
Normal file
27939
packages/NLog.5.3.2/lib/netstandard1.5/NLog.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/NLog.5.3.2/lib/netstandard2.0/NLog.dll
vendored
Normal file
BIN
packages/NLog.5.3.2/lib/netstandard2.0/NLog.dll
vendored
Normal file
Binary file not shown.
28769
packages/NLog.5.3.2/lib/netstandard2.0/NLog.xml
vendored
Normal file
28769
packages/NLog.5.3.2/lib/netstandard2.0/NLog.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/NLog.Database.5.3.2/.signature.p7s
vendored
Normal file
BIN
packages/NLog.Database.5.3.2/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/NLog.Database.5.3.2/N.png
vendored
Normal file
BIN
packages/NLog.Database.5.3.2/N.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
BIN
packages/NLog.Database.5.3.2/NLog.Database.5.3.2.nupkg
vendored
Normal file
BIN
packages/NLog.Database.5.3.2/NLog.Database.5.3.2.nupkg
vendored
Normal file
Binary file not shown.
27
packages/NLog.Database.5.3.2/README.md
vendored
Normal file
27
packages/NLog.Database.5.3.2/README.md
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# NLog Database Target
|
||||
|
||||
NLog Database Target can write to any database that has ADO.NET Database Provider. Ex. MS-SQL, MySQL, SqLite, Oracle, etc.
|
||||
|
||||
Make sure to also install the nuget-package for the wanted Database Provider, and configure the [DbProvider](https://github.com/NLog/NLog/wiki/Database-target#dbprovider-examples) for the Database Target.
|
||||
|
||||
If having trouble with output, then check [NLog InternalLogger](https://github.com/NLog/NLog/wiki/Internal-Logging) for clues. See also [Troubleshooting NLog](https://github.com/NLog/NLog/wiki/Logging-Troubleshooting)
|
||||
|
||||
See the [NLog Wiki](https://github.com/NLog/NLog/wiki/Database-target) for available options and examples.
|
||||
|
||||
## Register Extension
|
||||
|
||||
NLog will only recognize type-alias `database` when loading from `NLog.config`-file, if having added extension to `NLog.config`-file:
|
||||
|
||||
```xml
|
||||
<extensions>
|
||||
<add assembly="NLog.Database"/>
|
||||
</extensions>
|
||||
```
|
||||
|
||||
Alternative register from code using [fluent configuration API](https://github.com/NLog/NLog/wiki/Fluent-Configuration-API):
|
||||
|
||||
```csharp
|
||||
LogManager.Setup().SetupExtensions(ext => {
|
||||
ext.RegisterTarget<NLog.Targets.DatabaseTarget>();
|
||||
});
|
||||
```
|
||||
BIN
packages/NLog.Database.5.3.2/lib/net35/NLog.Database.dll
vendored
Normal file
BIN
packages/NLog.Database.5.3.2/lib/net35/NLog.Database.dll
vendored
Normal file
Binary file not shown.
461
packages/NLog.Database.5.3.2/lib/net35/NLog.Database.xml
vendored
Normal file
461
packages/NLog.Database.5.3.2/lib/net35/NLog.Database.xml
vendored
Normal file
@@ -0,0 +1,461 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>NLog.Database</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:NLog.Targets.DatabaseCommandInfo">
|
||||
<summary>
|
||||
Information about database command + parameters.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the command.
|
||||
</summary>
|
||||
<value>The type of the command.</value>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string to run the command against. If not provided, connection string from the target is used.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Text">
|
||||
<summary>
|
||||
Gets or sets the command text.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.IgnoreFailures">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to ignore failures.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each parameter contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseObjectPropertyInfo">
|
||||
<summary>
|
||||
Information about object-property for the database-connection-object
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseObjectPropertyInfo"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the name for the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the value to assign on the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.PropertyType">
|
||||
<summary>
|
||||
Gets or sets the type of the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the property value
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing property string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='9' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseParameterInfo">
|
||||
<summary>
|
||||
Represents a parameter to a Database target.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor(System.String,NLog.Layouts.Layout)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
<param name="parameterName">Name of the parameter.</param>
|
||||
<param name="parameterLayout">The parameter layout.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the database parameter name.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='0' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the layout that should be use to calculate the value for the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='1' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DbType">
|
||||
<summary>
|
||||
Gets or sets the database parameter DbType.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='2' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Size">
|
||||
<summary>
|
||||
Gets or sets the database parameter size.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='3' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Precision">
|
||||
<summary>
|
||||
Gets or sets the database parameter precision.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='4' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Scale">
|
||||
<summary>
|
||||
Gets or sets the database parameter scale.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='5' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.ParameterType">
|
||||
<summary>
|
||||
Gets or sets the type of the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='6' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DefaultValue">
|
||||
<summary>
|
||||
Gets or sets the fallback value when result value is not available
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='7' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the database parameter value.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing parameter string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='9' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.AllowDbNull">
|
||||
<summary>
|
||||
Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget">
|
||||
<summary>
|
||||
Writes log messages to the database using an ADO.NET provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Note .NET Core application cannot load connectionstrings from app.config / web.config. Instead use ${configsetting}
|
||||
</para>
|
||||
<a href="https://github.com/nlog/nlog/wiki/Database-target">See NLog Wiki</a>
|
||||
</remarks>
|
||||
<seealso href="https://github.com/nlog/nlog/wiki/Database-target">Documentation on NLog Wiki</seealso>
|
||||
<example>
|
||||
<para>
|
||||
The configuration is dependent on the database type, because
|
||||
there are different methods of specifying connection string, SQL
|
||||
command and command parameters.
|
||||
</para>
|
||||
<para>MS SQL Server using System.Data.SqlClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/MSSQL/NLog.config" height="450" />
|
||||
<para>Oracle using System.Data.OracleClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.Native/NLog.config" height="350" />
|
||||
<para>Oracle using System.Data.OleDBClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.OleDB/NLog.config" height="350" />
|
||||
<para>To set up the log target programmatically use code like this (an equivalent of MSSQL configuration):</para>
|
||||
<code lang="C#" source="examples/targets/Configuration API/Database/MSSQL/Example.cs" height="630" />
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
<param name="name">Name of the target.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBProvider">
|
||||
<summary>
|
||||
Gets or sets the name of the database provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>System.Data.SqlClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx">SQL Sever Client</see></li>
|
||||
<li><c>System.Data.SqlServerCe.3.5</c> - <see href="https://www.microsoft.com/sqlserver/2005/en/us/compact.aspx">SQL Sever Compact 3.5</see></li>
|
||||
<li><c>System.Data.OracleClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.oracleclient.aspx">Oracle Client from Microsoft</see> (deprecated in .NET Framework 4)</li>
|
||||
<li><c>Oracle.DataAccess.Client</c> - <see href="https://www.oracle.com/technology/tech/windows/odpnet/index.html">ODP.NET provider from Oracle</see></li>
|
||||
<li><c>System.Data.SQLite</c> - <see href="http://sqlite.phxsoftware.com/">System.Data.SQLite driver for SQLite</see></li>
|
||||
<li><c>Npgsql</c> - <see href="https://www.npgsql.org/">Npgsql driver for PostgreSQL</see></li>
|
||||
<li><c>MySql.Data.MySqlClient</c> - <see href="https://www.mysql.com/downloads/connector/net/">MySQL Connector/Net</see></li>
|
||||
</ul>
|
||||
<para>(Note that provider invariant names are not supported on .NET Compact Framework).</para>
|
||||
<para>
|
||||
Alternatively the parameter value can be be a fully qualified name of the provider
|
||||
connection type (class implementing <see cref="T:System.Data.IDbConnection" />) or one of the following tokens:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>sqlserver</c>, <c>mssql</c>, <c>microsoft</c> or <c>msde</c> - SQL Server Data Provider</li>
|
||||
<li><c>oledb</c> - OLEDB Data Provider</li>
|
||||
<li><c>odbc</c> - ODBC Data Provider</li>
|
||||
</ul>
|
||||
</remarks>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionStringName">
|
||||
<summary>
|
||||
Gets or sets the name of the connection string (as specified in <see href="https://msdn.microsoft.com/en-us/library/bf7sd233.aspx"><connectionStrings> configuration section</see>.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string. When provided, it overrides the values
|
||||
specified in DBHost, DBUserName, DBPassword, DBDatabase.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallDdlCommands">
|
||||
<summary>
|
||||
Gets the installation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.UninstallDdlCommands">
|
||||
<summary>
|
||||
Gets the uninstallation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.KeepConnection">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to keep the
|
||||
database connection open between the log events.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBHost">
|
||||
<summary>
|
||||
Gets or sets the database host name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Server=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBUserName">
|
||||
<summary>
|
||||
Gets or sets the database user name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "User ID=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBPassword">
|
||||
<summary>
|
||||
Gets or sets the database password. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Password=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBDatabase">
|
||||
<summary>
|
||||
Gets or sets the database name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Database=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandText">
|
||||
<summary>
|
||||
Gets or sets the text of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
Typically this is a SQL INSERT statement or a stored procedure call.
|
||||
It should use the database-specific parameters (marked as <c>@parameter</c>
|
||||
for SQL server or <c>:parameter</c> for Oracle, other data providers
|
||||
have their own notation) and not the layout renderers,
|
||||
because the latter is prone to SQL injection attacks.
|
||||
The layout renderers should be specified as <parameter /> elements instead.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure".
|
||||
When using the value StoredProcedure, the commandText-property would
|
||||
normally be the name of the stored procedure. TableDirect method is not supported in this context.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='11' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each item contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='SQL Statement' order='14' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbConnection instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbCommand instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.IsolationLevel">
|
||||
<summary>
|
||||
Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance.
|
||||
</summary>
|
||||
<docgen category='Performance Tuning Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Install(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs installation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Uninstall(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs uninstallation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.IsInstalled(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Determines whether the item is installed.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
<returns>
|
||||
Value indicating whether the item is installed or null if it is not possible to determine.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.InitializeTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.SetConnectionType">
|
||||
<summary>
|
||||
Set the <see cref="P:NLog.Targets.DatabaseTarget.ConnectionType"/> to use it for opening connections to the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CloseTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Writes the specified logging event to the database. It creates
|
||||
a new database command, prepares parameters for it by calculating
|
||||
layouts and executes the command.
|
||||
</summary>
|
||||
<param name="logEvent">The logging event.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(System.Collections.Generic.IList{NLog.Common.AsyncLogEventInfo})">
|
||||
<summary>
|
||||
Writes an array of logging events to the log target. By default it iterates on all
|
||||
events and passes them to "Write" method. Inheriting classes can use this method to
|
||||
optimize batch writes.
|
||||
</summary>
|
||||
<param name="logEvents">Logging events to be written out.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.ExecuteDbCommandWithParameters(NLog.LogEventInfo,System.Data.IDbConnection,System.Data.IDbTransaction)">
|
||||
<summary>
|
||||
Write logEvent to database
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.BuildConnectionString(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Build the connectionstring from the properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
Using <see cref="P:NLog.Targets.DatabaseTarget.ConnectionString"/> at first, and falls back to the properties <see cref="P:NLog.Targets.DatabaseTarget.DBHost"/>,
|
||||
<see cref="P:NLog.Targets.DatabaseTarget.DBUserName"/>, <see cref="P:NLog.Targets.DatabaseTarget.DBPassword"/> and <see cref="P:NLog.Targets.DatabaseTarget.DBDatabase"/>
|
||||
</remarks>
|
||||
<param name="logEvent">Event to render the layout inside the properties.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.EscapeValueForConnectionString(System.String)">
|
||||
<summary>
|
||||
Escape quotes and semicolons.
|
||||
See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CreateDatabaseParameter(System.Data.IDbCommand,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Create database parameter
|
||||
</summary>
|
||||
<param name="command">Current command.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.GetDatabaseParameterValue(NLog.LogEventInfo,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Extract parameter value from the logevent
|
||||
</summary>
|
||||
<param name="logEvent">Current logevent.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="T:NLog.Internal.ReflectionHelpers">
|
||||
<summary>
|
||||
Reflection helpers.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
packages/NLog.Database.5.3.2/lib/net45/NLog.Database.dll
vendored
Normal file
BIN
packages/NLog.Database.5.3.2/lib/net45/NLog.Database.dll
vendored
Normal file
Binary file not shown.
461
packages/NLog.Database.5.3.2/lib/net45/NLog.Database.xml
vendored
Normal file
461
packages/NLog.Database.5.3.2/lib/net45/NLog.Database.xml
vendored
Normal file
@@ -0,0 +1,461 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>NLog.Database</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:NLog.Targets.DatabaseCommandInfo">
|
||||
<summary>
|
||||
Information about database command + parameters.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the command.
|
||||
</summary>
|
||||
<value>The type of the command.</value>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string to run the command against. If not provided, connection string from the target is used.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Text">
|
||||
<summary>
|
||||
Gets or sets the command text.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.IgnoreFailures">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to ignore failures.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each parameter contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseObjectPropertyInfo">
|
||||
<summary>
|
||||
Information about object-property for the database-connection-object
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseObjectPropertyInfo"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the name for the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the value to assign on the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.PropertyType">
|
||||
<summary>
|
||||
Gets or sets the type of the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the property value
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing property string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='9' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseParameterInfo">
|
||||
<summary>
|
||||
Represents a parameter to a Database target.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor(System.String,NLog.Layouts.Layout)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
<param name="parameterName">Name of the parameter.</param>
|
||||
<param name="parameterLayout">The parameter layout.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the database parameter name.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='0' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the layout that should be use to calculate the value for the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='1' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DbType">
|
||||
<summary>
|
||||
Gets or sets the database parameter DbType.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='2' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Size">
|
||||
<summary>
|
||||
Gets or sets the database parameter size.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='3' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Precision">
|
||||
<summary>
|
||||
Gets or sets the database parameter precision.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='4' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Scale">
|
||||
<summary>
|
||||
Gets or sets the database parameter scale.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='5' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.ParameterType">
|
||||
<summary>
|
||||
Gets or sets the type of the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='6' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DefaultValue">
|
||||
<summary>
|
||||
Gets or sets the fallback value when result value is not available
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='7' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the database parameter value.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing parameter string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='9' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.AllowDbNull">
|
||||
<summary>
|
||||
Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget">
|
||||
<summary>
|
||||
Writes log messages to the database using an ADO.NET provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Note .NET Core application cannot load connectionstrings from app.config / web.config. Instead use ${configsetting}
|
||||
</para>
|
||||
<a href="https://github.com/nlog/nlog/wiki/Database-target">See NLog Wiki</a>
|
||||
</remarks>
|
||||
<seealso href="https://github.com/nlog/nlog/wiki/Database-target">Documentation on NLog Wiki</seealso>
|
||||
<example>
|
||||
<para>
|
||||
The configuration is dependent on the database type, because
|
||||
there are different methods of specifying connection string, SQL
|
||||
command and command parameters.
|
||||
</para>
|
||||
<para>MS SQL Server using System.Data.SqlClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/MSSQL/NLog.config" height="450" />
|
||||
<para>Oracle using System.Data.OracleClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.Native/NLog.config" height="350" />
|
||||
<para>Oracle using System.Data.OleDBClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.OleDB/NLog.config" height="350" />
|
||||
<para>To set up the log target programmatically use code like this (an equivalent of MSSQL configuration):</para>
|
||||
<code lang="C#" source="examples/targets/Configuration API/Database/MSSQL/Example.cs" height="630" />
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
<param name="name">Name of the target.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBProvider">
|
||||
<summary>
|
||||
Gets or sets the name of the database provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>System.Data.SqlClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx">SQL Sever Client</see></li>
|
||||
<li><c>System.Data.SqlServerCe.3.5</c> - <see href="https://www.microsoft.com/sqlserver/2005/en/us/compact.aspx">SQL Sever Compact 3.5</see></li>
|
||||
<li><c>System.Data.OracleClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.oracleclient.aspx">Oracle Client from Microsoft</see> (deprecated in .NET Framework 4)</li>
|
||||
<li><c>Oracle.DataAccess.Client</c> - <see href="https://www.oracle.com/technology/tech/windows/odpnet/index.html">ODP.NET provider from Oracle</see></li>
|
||||
<li><c>System.Data.SQLite</c> - <see href="http://sqlite.phxsoftware.com/">System.Data.SQLite driver for SQLite</see></li>
|
||||
<li><c>Npgsql</c> - <see href="https://www.npgsql.org/">Npgsql driver for PostgreSQL</see></li>
|
||||
<li><c>MySql.Data.MySqlClient</c> - <see href="https://www.mysql.com/downloads/connector/net/">MySQL Connector/Net</see></li>
|
||||
</ul>
|
||||
<para>(Note that provider invariant names are not supported on .NET Compact Framework).</para>
|
||||
<para>
|
||||
Alternatively the parameter value can be be a fully qualified name of the provider
|
||||
connection type (class implementing <see cref="T:System.Data.IDbConnection" />) or one of the following tokens:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>sqlserver</c>, <c>mssql</c>, <c>microsoft</c> or <c>msde</c> - SQL Server Data Provider</li>
|
||||
<li><c>oledb</c> - OLEDB Data Provider</li>
|
||||
<li><c>odbc</c> - ODBC Data Provider</li>
|
||||
</ul>
|
||||
</remarks>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionStringName">
|
||||
<summary>
|
||||
Gets or sets the name of the connection string (as specified in <see href="https://msdn.microsoft.com/en-us/library/bf7sd233.aspx"><connectionStrings> configuration section</see>.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string. When provided, it overrides the values
|
||||
specified in DBHost, DBUserName, DBPassword, DBDatabase.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallDdlCommands">
|
||||
<summary>
|
||||
Gets the installation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.UninstallDdlCommands">
|
||||
<summary>
|
||||
Gets the uninstallation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.KeepConnection">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to keep the
|
||||
database connection open between the log events.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBHost">
|
||||
<summary>
|
||||
Gets or sets the database host name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Server=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBUserName">
|
||||
<summary>
|
||||
Gets or sets the database user name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "User ID=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBPassword">
|
||||
<summary>
|
||||
Gets or sets the database password. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Password=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBDatabase">
|
||||
<summary>
|
||||
Gets or sets the database name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Database=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandText">
|
||||
<summary>
|
||||
Gets or sets the text of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
Typically this is a SQL INSERT statement or a stored procedure call.
|
||||
It should use the database-specific parameters (marked as <c>@parameter</c>
|
||||
for SQL server or <c>:parameter</c> for Oracle, other data providers
|
||||
have their own notation) and not the layout renderers,
|
||||
because the latter is prone to SQL injection attacks.
|
||||
The layout renderers should be specified as <parameter /> elements instead.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure".
|
||||
When using the value StoredProcedure, the commandText-property would
|
||||
normally be the name of the stored procedure. TableDirect method is not supported in this context.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='11' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each item contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='SQL Statement' order='14' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbConnection instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbCommand instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.IsolationLevel">
|
||||
<summary>
|
||||
Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance.
|
||||
</summary>
|
||||
<docgen category='Performance Tuning Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Install(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs installation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Uninstall(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs uninstallation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.IsInstalled(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Determines whether the item is installed.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
<returns>
|
||||
Value indicating whether the item is installed or null if it is not possible to determine.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.InitializeTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.SetConnectionType">
|
||||
<summary>
|
||||
Set the <see cref="P:NLog.Targets.DatabaseTarget.ConnectionType"/> to use it for opening connections to the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CloseTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Writes the specified logging event to the database. It creates
|
||||
a new database command, prepares parameters for it by calculating
|
||||
layouts and executes the command.
|
||||
</summary>
|
||||
<param name="logEvent">The logging event.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(System.Collections.Generic.IList{NLog.Common.AsyncLogEventInfo})">
|
||||
<summary>
|
||||
Writes an array of logging events to the log target. By default it iterates on all
|
||||
events and passes them to "Write" method. Inheriting classes can use this method to
|
||||
optimize batch writes.
|
||||
</summary>
|
||||
<param name="logEvents">Logging events to be written out.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.ExecuteDbCommandWithParameters(NLog.LogEventInfo,System.Data.IDbConnection,System.Data.IDbTransaction)">
|
||||
<summary>
|
||||
Write logEvent to database
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.BuildConnectionString(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Build the connectionstring from the properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
Using <see cref="P:NLog.Targets.DatabaseTarget.ConnectionString"/> at first, and falls back to the properties <see cref="P:NLog.Targets.DatabaseTarget.DBHost"/>,
|
||||
<see cref="P:NLog.Targets.DatabaseTarget.DBUserName"/>, <see cref="P:NLog.Targets.DatabaseTarget.DBPassword"/> and <see cref="P:NLog.Targets.DatabaseTarget.DBDatabase"/>
|
||||
</remarks>
|
||||
<param name="logEvent">Event to render the layout inside the properties.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.EscapeValueForConnectionString(System.String)">
|
||||
<summary>
|
||||
Escape quotes and semicolons.
|
||||
See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CreateDatabaseParameter(System.Data.IDbCommand,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Create database parameter
|
||||
</summary>
|
||||
<param name="command">Current command.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.GetDatabaseParameterValue(NLog.LogEventInfo,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Extract parameter value from the logevent
|
||||
</summary>
|
||||
<param name="logEvent">Current logevent.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="T:NLog.Internal.ReflectionHelpers">
|
||||
<summary>
|
||||
Reflection helpers.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
packages/NLog.Database.5.3.2/lib/net46/NLog.Database.dll
vendored
Normal file
BIN
packages/NLog.Database.5.3.2/lib/net46/NLog.Database.dll
vendored
Normal file
Binary file not shown.
461
packages/NLog.Database.5.3.2/lib/net46/NLog.Database.xml
vendored
Normal file
461
packages/NLog.Database.5.3.2/lib/net46/NLog.Database.xml
vendored
Normal file
@@ -0,0 +1,461 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>NLog.Database</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:NLog.Targets.DatabaseCommandInfo">
|
||||
<summary>
|
||||
Information about database command + parameters.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the command.
|
||||
</summary>
|
||||
<value>The type of the command.</value>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string to run the command against. If not provided, connection string from the target is used.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Text">
|
||||
<summary>
|
||||
Gets or sets the command text.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.IgnoreFailures">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to ignore failures.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each parameter contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseObjectPropertyInfo">
|
||||
<summary>
|
||||
Information about object-property for the database-connection-object
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseObjectPropertyInfo"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the name for the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the value to assign on the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.PropertyType">
|
||||
<summary>
|
||||
Gets or sets the type of the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the property value
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing property string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='9' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseParameterInfo">
|
||||
<summary>
|
||||
Represents a parameter to a Database target.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor(System.String,NLog.Layouts.Layout)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
<param name="parameterName">Name of the parameter.</param>
|
||||
<param name="parameterLayout">The parameter layout.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the database parameter name.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='0' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the layout that should be use to calculate the value for the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='1' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DbType">
|
||||
<summary>
|
||||
Gets or sets the database parameter DbType.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='2' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Size">
|
||||
<summary>
|
||||
Gets or sets the database parameter size.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='3' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Precision">
|
||||
<summary>
|
||||
Gets or sets the database parameter precision.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='4' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Scale">
|
||||
<summary>
|
||||
Gets or sets the database parameter scale.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='5' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.ParameterType">
|
||||
<summary>
|
||||
Gets or sets the type of the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='6' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DefaultValue">
|
||||
<summary>
|
||||
Gets or sets the fallback value when result value is not available
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='7' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the database parameter value.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing parameter string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='9' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.AllowDbNull">
|
||||
<summary>
|
||||
Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget">
|
||||
<summary>
|
||||
Writes log messages to the database using an ADO.NET provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Note .NET Core application cannot load connectionstrings from app.config / web.config. Instead use ${configsetting}
|
||||
</para>
|
||||
<a href="https://github.com/nlog/nlog/wiki/Database-target">See NLog Wiki</a>
|
||||
</remarks>
|
||||
<seealso href="https://github.com/nlog/nlog/wiki/Database-target">Documentation on NLog Wiki</seealso>
|
||||
<example>
|
||||
<para>
|
||||
The configuration is dependent on the database type, because
|
||||
there are different methods of specifying connection string, SQL
|
||||
command and command parameters.
|
||||
</para>
|
||||
<para>MS SQL Server using System.Data.SqlClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/MSSQL/NLog.config" height="450" />
|
||||
<para>Oracle using System.Data.OracleClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.Native/NLog.config" height="350" />
|
||||
<para>Oracle using System.Data.OleDBClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.OleDB/NLog.config" height="350" />
|
||||
<para>To set up the log target programmatically use code like this (an equivalent of MSSQL configuration):</para>
|
||||
<code lang="C#" source="examples/targets/Configuration API/Database/MSSQL/Example.cs" height="630" />
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
<param name="name">Name of the target.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBProvider">
|
||||
<summary>
|
||||
Gets or sets the name of the database provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>System.Data.SqlClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx">SQL Sever Client</see></li>
|
||||
<li><c>System.Data.SqlServerCe.3.5</c> - <see href="https://www.microsoft.com/sqlserver/2005/en/us/compact.aspx">SQL Sever Compact 3.5</see></li>
|
||||
<li><c>System.Data.OracleClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.oracleclient.aspx">Oracle Client from Microsoft</see> (deprecated in .NET Framework 4)</li>
|
||||
<li><c>Oracle.DataAccess.Client</c> - <see href="https://www.oracle.com/technology/tech/windows/odpnet/index.html">ODP.NET provider from Oracle</see></li>
|
||||
<li><c>System.Data.SQLite</c> - <see href="http://sqlite.phxsoftware.com/">System.Data.SQLite driver for SQLite</see></li>
|
||||
<li><c>Npgsql</c> - <see href="https://www.npgsql.org/">Npgsql driver for PostgreSQL</see></li>
|
||||
<li><c>MySql.Data.MySqlClient</c> - <see href="https://www.mysql.com/downloads/connector/net/">MySQL Connector/Net</see></li>
|
||||
</ul>
|
||||
<para>(Note that provider invariant names are not supported on .NET Compact Framework).</para>
|
||||
<para>
|
||||
Alternatively the parameter value can be be a fully qualified name of the provider
|
||||
connection type (class implementing <see cref="T:System.Data.IDbConnection" />) or one of the following tokens:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>sqlserver</c>, <c>mssql</c>, <c>microsoft</c> or <c>msde</c> - SQL Server Data Provider</li>
|
||||
<li><c>oledb</c> - OLEDB Data Provider</li>
|
||||
<li><c>odbc</c> - ODBC Data Provider</li>
|
||||
</ul>
|
||||
</remarks>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionStringName">
|
||||
<summary>
|
||||
Gets or sets the name of the connection string (as specified in <see href="https://msdn.microsoft.com/en-us/library/bf7sd233.aspx"><connectionStrings> configuration section</see>.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string. When provided, it overrides the values
|
||||
specified in DBHost, DBUserName, DBPassword, DBDatabase.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallDdlCommands">
|
||||
<summary>
|
||||
Gets the installation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.UninstallDdlCommands">
|
||||
<summary>
|
||||
Gets the uninstallation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.KeepConnection">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to keep the
|
||||
database connection open between the log events.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBHost">
|
||||
<summary>
|
||||
Gets or sets the database host name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Server=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBUserName">
|
||||
<summary>
|
||||
Gets or sets the database user name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "User ID=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBPassword">
|
||||
<summary>
|
||||
Gets or sets the database password. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Password=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBDatabase">
|
||||
<summary>
|
||||
Gets or sets the database name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Database=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandText">
|
||||
<summary>
|
||||
Gets or sets the text of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
Typically this is a SQL INSERT statement or a stored procedure call.
|
||||
It should use the database-specific parameters (marked as <c>@parameter</c>
|
||||
for SQL server or <c>:parameter</c> for Oracle, other data providers
|
||||
have their own notation) and not the layout renderers,
|
||||
because the latter is prone to SQL injection attacks.
|
||||
The layout renderers should be specified as <parameter /> elements instead.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure".
|
||||
When using the value StoredProcedure, the commandText-property would
|
||||
normally be the name of the stored procedure. TableDirect method is not supported in this context.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='11' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each item contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='SQL Statement' order='14' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbConnection instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbCommand instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.IsolationLevel">
|
||||
<summary>
|
||||
Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance.
|
||||
</summary>
|
||||
<docgen category='Performance Tuning Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Install(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs installation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Uninstall(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs uninstallation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.IsInstalled(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Determines whether the item is installed.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
<returns>
|
||||
Value indicating whether the item is installed or null if it is not possible to determine.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.InitializeTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.SetConnectionType">
|
||||
<summary>
|
||||
Set the <see cref="P:NLog.Targets.DatabaseTarget.ConnectionType"/> to use it for opening connections to the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CloseTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Writes the specified logging event to the database. It creates
|
||||
a new database command, prepares parameters for it by calculating
|
||||
layouts and executes the command.
|
||||
</summary>
|
||||
<param name="logEvent">The logging event.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(System.Collections.Generic.IList{NLog.Common.AsyncLogEventInfo})">
|
||||
<summary>
|
||||
Writes an array of logging events to the log target. By default it iterates on all
|
||||
events and passes them to "Write" method. Inheriting classes can use this method to
|
||||
optimize batch writes.
|
||||
</summary>
|
||||
<param name="logEvents">Logging events to be written out.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.ExecuteDbCommandWithParameters(NLog.LogEventInfo,System.Data.IDbConnection,System.Data.IDbTransaction)">
|
||||
<summary>
|
||||
Write logEvent to database
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.BuildConnectionString(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Build the connectionstring from the properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
Using <see cref="P:NLog.Targets.DatabaseTarget.ConnectionString"/> at first, and falls back to the properties <see cref="P:NLog.Targets.DatabaseTarget.DBHost"/>,
|
||||
<see cref="P:NLog.Targets.DatabaseTarget.DBUserName"/>, <see cref="P:NLog.Targets.DatabaseTarget.DBPassword"/> and <see cref="P:NLog.Targets.DatabaseTarget.DBDatabase"/>
|
||||
</remarks>
|
||||
<param name="logEvent">Event to render the layout inside the properties.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.EscapeValueForConnectionString(System.String)">
|
||||
<summary>
|
||||
Escape quotes and semicolons.
|
||||
See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CreateDatabaseParameter(System.Data.IDbCommand,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Create database parameter
|
||||
</summary>
|
||||
<param name="command">Current command.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.GetDatabaseParameterValue(NLog.LogEventInfo,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Extract parameter value from the logevent
|
||||
</summary>
|
||||
<param name="logEvent">Current logevent.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="T:NLog.Internal.ReflectionHelpers">
|
||||
<summary>
|
||||
Reflection helpers.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
packages/NLog.Database.5.3.2/lib/netstandard1.3/NLog.Database.dll
vendored
Normal file
BIN
packages/NLog.Database.5.3.2/lib/netstandard1.3/NLog.Database.dll
vendored
Normal file
Binary file not shown.
467
packages/NLog.Database.5.3.2/lib/netstandard1.3/NLog.Database.xml
vendored
Normal file
467
packages/NLog.Database.5.3.2/lib/netstandard1.3/NLog.Database.xml
vendored
Normal file
@@ -0,0 +1,467 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>NLog.Database</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:NLog.Targets.DatabaseCommandInfo">
|
||||
<summary>
|
||||
Information about database command + parameters.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the command.
|
||||
</summary>
|
||||
<value>The type of the command.</value>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string to run the command against. If not provided, connection string from the target is used.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Text">
|
||||
<summary>
|
||||
Gets or sets the command text.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.IgnoreFailures">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to ignore failures.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each parameter contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseObjectPropertyInfo">
|
||||
<summary>
|
||||
Information about object-property for the database-connection-object
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseObjectPropertyInfo"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the name for the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the value to assign on the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.PropertyType">
|
||||
<summary>
|
||||
Gets or sets the type of the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the property value
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing property string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='9' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseParameterInfo">
|
||||
<summary>
|
||||
Represents a parameter to a Database target.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor(System.String,NLog.Layouts.Layout)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
<param name="parameterName">Name of the parameter.</param>
|
||||
<param name="parameterLayout">The parameter layout.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the database parameter name.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='0' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the layout that should be use to calculate the value for the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='1' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DbType">
|
||||
<summary>
|
||||
Gets or sets the database parameter DbType.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='2' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Size">
|
||||
<summary>
|
||||
Gets or sets the database parameter size.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='3' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Precision">
|
||||
<summary>
|
||||
Gets or sets the database parameter precision.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='4' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Scale">
|
||||
<summary>
|
||||
Gets or sets the database parameter scale.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='5' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.ParameterType">
|
||||
<summary>
|
||||
Gets or sets the type of the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='6' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DefaultValue">
|
||||
<summary>
|
||||
Gets or sets the fallback value when result value is not available
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='7' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the database parameter value.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing parameter string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='9' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.AllowDbNull">
|
||||
<summary>
|
||||
Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget">
|
||||
<summary>
|
||||
Writes log messages to the database using an ADO.NET provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Note .NET Core application cannot load connectionstrings from app.config / web.config. Instead use ${configsetting}
|
||||
</para>
|
||||
<a href="https://github.com/nlog/nlog/wiki/Database-target">See NLog Wiki</a>
|
||||
</remarks>
|
||||
<seealso href="https://github.com/nlog/nlog/wiki/Database-target">Documentation on NLog Wiki</seealso>
|
||||
<example>
|
||||
<para>
|
||||
The configuration is dependent on the database type, because
|
||||
there are different methods of specifying connection string, SQL
|
||||
command and command parameters.
|
||||
</para>
|
||||
<para>MS SQL Server using System.Data.SqlClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/MSSQL/NLog.config" height="450" />
|
||||
<para>Oracle using System.Data.OracleClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.Native/NLog.config" height="350" />
|
||||
<para>Oracle using System.Data.OleDBClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.OleDB/NLog.config" height="350" />
|
||||
<para>To set up the log target programmatically use code like this (an equivalent of MSSQL configuration):</para>
|
||||
<code lang="C#" source="examples/targets/Configuration API/Database/MSSQL/Example.cs" height="630" />
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
<param name="name">Name of the target.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBProvider">
|
||||
<summary>
|
||||
Gets or sets the name of the database provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>System.Data.SqlClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx">SQL Sever Client</see></li>
|
||||
<li><c>System.Data.SqlServerCe.3.5</c> - <see href="https://www.microsoft.com/sqlserver/2005/en/us/compact.aspx">SQL Sever Compact 3.5</see></li>
|
||||
<li><c>System.Data.OracleClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.oracleclient.aspx">Oracle Client from Microsoft</see> (deprecated in .NET Framework 4)</li>
|
||||
<li><c>Oracle.DataAccess.Client</c> - <see href="https://www.oracle.com/technology/tech/windows/odpnet/index.html">ODP.NET provider from Oracle</see></li>
|
||||
<li><c>System.Data.SQLite</c> - <see href="http://sqlite.phxsoftware.com/">System.Data.SQLite driver for SQLite</see></li>
|
||||
<li><c>Npgsql</c> - <see href="https://www.npgsql.org/">Npgsql driver for PostgreSQL</see></li>
|
||||
<li><c>MySql.Data.MySqlClient</c> - <see href="https://www.mysql.com/downloads/connector/net/">MySQL Connector/Net</see></li>
|
||||
</ul>
|
||||
<para>(Note that provider invariant names are not supported on .NET Compact Framework).</para>
|
||||
<para>
|
||||
Alternatively the parameter value can be be a fully qualified name of the provider
|
||||
connection type (class implementing <see cref="T:System.Data.IDbConnection" />) or one of the following tokens:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>sqlserver</c>, <c>mssql</c>, <c>microsoft</c> or <c>msde</c> - SQL Server Data Provider</li>
|
||||
<li><c>oledb</c> - OLEDB Data Provider</li>
|
||||
<li><c>odbc</c> - ODBC Data Provider</li>
|
||||
</ul>
|
||||
</remarks>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string. When provided, it overrides the values
|
||||
specified in DBHost, DBUserName, DBPassword, DBDatabase.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallDdlCommands">
|
||||
<summary>
|
||||
Gets the installation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.UninstallDdlCommands">
|
||||
<summary>
|
||||
Gets the uninstallation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.KeepConnection">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to keep the
|
||||
database connection open between the log events.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBHost">
|
||||
<summary>
|
||||
Gets or sets the database host name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Server=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBUserName">
|
||||
<summary>
|
||||
Gets or sets the database user name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "User ID=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBPassword">
|
||||
<summary>
|
||||
Gets or sets the database password. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Password=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBDatabase">
|
||||
<summary>
|
||||
Gets or sets the database name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Database=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandText">
|
||||
<summary>
|
||||
Gets or sets the text of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
Typically this is a SQL INSERT statement or a stored procedure call.
|
||||
It should use the database-specific parameters (marked as <c>@parameter</c>
|
||||
for SQL server or <c>:parameter</c> for Oracle, other data providers
|
||||
have their own notation) and not the layout renderers,
|
||||
because the latter is prone to SQL injection attacks.
|
||||
The layout renderers should be specified as <parameter /> elements instead.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure".
|
||||
When using the value StoredProcedure, the commandText-property would
|
||||
normally be the name of the stored procedure. TableDirect method is not supported in this context.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='11' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each item contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='SQL Statement' order='14' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbConnection instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbCommand instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.IsolationLevel">
|
||||
<summary>
|
||||
Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance.
|
||||
</summary>
|
||||
<docgen category='Performance Tuning Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Install(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs installation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Uninstall(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs uninstallation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.IsInstalled(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Determines whether the item is installed.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
<returns>
|
||||
Value indicating whether the item is installed or null if it is not possible to determine.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.InitializeTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.SetConnectionType">
|
||||
<summary>
|
||||
Set the <see cref="P:NLog.Targets.DatabaseTarget.ConnectionType"/> to use it for opening connections to the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CloseTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Writes the specified logging event to the database. It creates
|
||||
a new database command, prepares parameters for it by calculating
|
||||
layouts and executes the command.
|
||||
</summary>
|
||||
<param name="logEvent">The logging event.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(System.Collections.Generic.IList{NLog.Common.AsyncLogEventInfo})">
|
||||
<summary>
|
||||
Writes an array of logging events to the log target. By default it iterates on all
|
||||
events and passes them to "Write" method. Inheriting classes can use this method to
|
||||
optimize batch writes.
|
||||
</summary>
|
||||
<param name="logEvents">Logging events to be written out.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.ExecuteDbCommandWithParameters(NLog.LogEventInfo,System.Data.IDbConnection,System.Data.IDbTransaction)">
|
||||
<summary>
|
||||
Write logEvent to database
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.BuildConnectionString(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Build the connectionstring from the properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
Using <see cref="P:NLog.Targets.DatabaseTarget.ConnectionString"/> at first, and falls back to the properties <see cref="P:NLog.Targets.DatabaseTarget.DBHost"/>,
|
||||
<see cref="P:NLog.Targets.DatabaseTarget.DBUserName"/>, <see cref="P:NLog.Targets.DatabaseTarget.DBPassword"/> and <see cref="P:NLog.Targets.DatabaseTarget.DBDatabase"/>
|
||||
</remarks>
|
||||
<param name="logEvent">Event to render the layout inside the properties.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.EscapeValueForConnectionString(System.String)">
|
||||
<summary>
|
||||
Escape quotes and semicolons.
|
||||
See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CreateDatabaseParameter(System.Data.IDbCommand,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Create database parameter
|
||||
</summary>
|
||||
<param name="command">Current command.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.GetDatabaseParameterValue(NLog.LogEventInfo,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Extract parameter value from the logevent
|
||||
</summary>
|
||||
<param name="logEvent">Current logevent.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget.TransactionScope">
|
||||
<summary>
|
||||
Fake transaction
|
||||
|
||||
Transactions aren't in .NET Core: https://github.com/dotnet/corefx/issues/2949
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget.TransactionScopeOption">
|
||||
<summary>
|
||||
Fake option
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:NLog.Internal.ReflectionHelpers">
|
||||
<summary>
|
||||
Reflection helpers.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
packages/NLog.Database.5.3.2/lib/netstandard1.5/NLog.Database.dll
vendored
Normal file
BIN
packages/NLog.Database.5.3.2/lib/netstandard1.5/NLog.Database.dll
vendored
Normal file
Binary file not shown.
467
packages/NLog.Database.5.3.2/lib/netstandard1.5/NLog.Database.xml
vendored
Normal file
467
packages/NLog.Database.5.3.2/lib/netstandard1.5/NLog.Database.xml
vendored
Normal file
@@ -0,0 +1,467 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>NLog.Database</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:NLog.Targets.DatabaseCommandInfo">
|
||||
<summary>
|
||||
Information about database command + parameters.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the command.
|
||||
</summary>
|
||||
<value>The type of the command.</value>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string to run the command against. If not provided, connection string from the target is used.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Text">
|
||||
<summary>
|
||||
Gets or sets the command text.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.IgnoreFailures">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to ignore failures.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each parameter contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseObjectPropertyInfo">
|
||||
<summary>
|
||||
Information about object-property for the database-connection-object
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseObjectPropertyInfo"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the name for the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the value to assign on the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.PropertyType">
|
||||
<summary>
|
||||
Gets or sets the type of the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the property value
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing property string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='9' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseParameterInfo">
|
||||
<summary>
|
||||
Represents a parameter to a Database target.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor(System.String,NLog.Layouts.Layout)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
<param name="parameterName">Name of the parameter.</param>
|
||||
<param name="parameterLayout">The parameter layout.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the database parameter name.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='0' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the layout that should be use to calculate the value for the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='1' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DbType">
|
||||
<summary>
|
||||
Gets or sets the database parameter DbType.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='2' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Size">
|
||||
<summary>
|
||||
Gets or sets the database parameter size.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='3' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Precision">
|
||||
<summary>
|
||||
Gets or sets the database parameter precision.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='4' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Scale">
|
||||
<summary>
|
||||
Gets or sets the database parameter scale.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='5' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.ParameterType">
|
||||
<summary>
|
||||
Gets or sets the type of the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='6' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DefaultValue">
|
||||
<summary>
|
||||
Gets or sets the fallback value when result value is not available
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='7' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the database parameter value.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing parameter string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='9' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.AllowDbNull">
|
||||
<summary>
|
||||
Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget">
|
||||
<summary>
|
||||
Writes log messages to the database using an ADO.NET provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Note .NET Core application cannot load connectionstrings from app.config / web.config. Instead use ${configsetting}
|
||||
</para>
|
||||
<a href="https://github.com/nlog/nlog/wiki/Database-target">See NLog Wiki</a>
|
||||
</remarks>
|
||||
<seealso href="https://github.com/nlog/nlog/wiki/Database-target">Documentation on NLog Wiki</seealso>
|
||||
<example>
|
||||
<para>
|
||||
The configuration is dependent on the database type, because
|
||||
there are different methods of specifying connection string, SQL
|
||||
command and command parameters.
|
||||
</para>
|
||||
<para>MS SQL Server using System.Data.SqlClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/MSSQL/NLog.config" height="450" />
|
||||
<para>Oracle using System.Data.OracleClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.Native/NLog.config" height="350" />
|
||||
<para>Oracle using System.Data.OleDBClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.OleDB/NLog.config" height="350" />
|
||||
<para>To set up the log target programmatically use code like this (an equivalent of MSSQL configuration):</para>
|
||||
<code lang="C#" source="examples/targets/Configuration API/Database/MSSQL/Example.cs" height="630" />
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
<param name="name">Name of the target.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBProvider">
|
||||
<summary>
|
||||
Gets or sets the name of the database provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>System.Data.SqlClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx">SQL Sever Client</see></li>
|
||||
<li><c>System.Data.SqlServerCe.3.5</c> - <see href="https://www.microsoft.com/sqlserver/2005/en/us/compact.aspx">SQL Sever Compact 3.5</see></li>
|
||||
<li><c>System.Data.OracleClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.oracleclient.aspx">Oracle Client from Microsoft</see> (deprecated in .NET Framework 4)</li>
|
||||
<li><c>Oracle.DataAccess.Client</c> - <see href="https://www.oracle.com/technology/tech/windows/odpnet/index.html">ODP.NET provider from Oracle</see></li>
|
||||
<li><c>System.Data.SQLite</c> - <see href="http://sqlite.phxsoftware.com/">System.Data.SQLite driver for SQLite</see></li>
|
||||
<li><c>Npgsql</c> - <see href="https://www.npgsql.org/">Npgsql driver for PostgreSQL</see></li>
|
||||
<li><c>MySql.Data.MySqlClient</c> - <see href="https://www.mysql.com/downloads/connector/net/">MySQL Connector/Net</see></li>
|
||||
</ul>
|
||||
<para>(Note that provider invariant names are not supported on .NET Compact Framework).</para>
|
||||
<para>
|
||||
Alternatively the parameter value can be be a fully qualified name of the provider
|
||||
connection type (class implementing <see cref="T:System.Data.IDbConnection" />) or one of the following tokens:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>sqlserver</c>, <c>mssql</c>, <c>microsoft</c> or <c>msde</c> - SQL Server Data Provider</li>
|
||||
<li><c>oledb</c> - OLEDB Data Provider</li>
|
||||
<li><c>odbc</c> - ODBC Data Provider</li>
|
||||
</ul>
|
||||
</remarks>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string. When provided, it overrides the values
|
||||
specified in DBHost, DBUserName, DBPassword, DBDatabase.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallDdlCommands">
|
||||
<summary>
|
||||
Gets the installation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.UninstallDdlCommands">
|
||||
<summary>
|
||||
Gets the uninstallation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.KeepConnection">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to keep the
|
||||
database connection open between the log events.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBHost">
|
||||
<summary>
|
||||
Gets or sets the database host name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Server=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBUserName">
|
||||
<summary>
|
||||
Gets or sets the database user name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "User ID=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBPassword">
|
||||
<summary>
|
||||
Gets or sets the database password. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Password=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBDatabase">
|
||||
<summary>
|
||||
Gets or sets the database name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Database=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandText">
|
||||
<summary>
|
||||
Gets or sets the text of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
Typically this is a SQL INSERT statement or a stored procedure call.
|
||||
It should use the database-specific parameters (marked as <c>@parameter</c>
|
||||
for SQL server or <c>:parameter</c> for Oracle, other data providers
|
||||
have their own notation) and not the layout renderers,
|
||||
because the latter is prone to SQL injection attacks.
|
||||
The layout renderers should be specified as <parameter /> elements instead.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure".
|
||||
When using the value StoredProcedure, the commandText-property would
|
||||
normally be the name of the stored procedure. TableDirect method is not supported in this context.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='11' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each item contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='SQL Statement' order='14' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbConnection instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbCommand instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.IsolationLevel">
|
||||
<summary>
|
||||
Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance.
|
||||
</summary>
|
||||
<docgen category='Performance Tuning Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Install(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs installation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Uninstall(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs uninstallation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.IsInstalled(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Determines whether the item is installed.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
<returns>
|
||||
Value indicating whether the item is installed or null if it is not possible to determine.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.InitializeTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.SetConnectionType">
|
||||
<summary>
|
||||
Set the <see cref="P:NLog.Targets.DatabaseTarget.ConnectionType"/> to use it for opening connections to the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CloseTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Writes the specified logging event to the database. It creates
|
||||
a new database command, prepares parameters for it by calculating
|
||||
layouts and executes the command.
|
||||
</summary>
|
||||
<param name="logEvent">The logging event.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(System.Collections.Generic.IList{NLog.Common.AsyncLogEventInfo})">
|
||||
<summary>
|
||||
Writes an array of logging events to the log target. By default it iterates on all
|
||||
events and passes them to "Write" method. Inheriting classes can use this method to
|
||||
optimize batch writes.
|
||||
</summary>
|
||||
<param name="logEvents">Logging events to be written out.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.ExecuteDbCommandWithParameters(NLog.LogEventInfo,System.Data.IDbConnection,System.Data.IDbTransaction)">
|
||||
<summary>
|
||||
Write logEvent to database
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.BuildConnectionString(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Build the connectionstring from the properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
Using <see cref="P:NLog.Targets.DatabaseTarget.ConnectionString"/> at first, and falls back to the properties <see cref="P:NLog.Targets.DatabaseTarget.DBHost"/>,
|
||||
<see cref="P:NLog.Targets.DatabaseTarget.DBUserName"/>, <see cref="P:NLog.Targets.DatabaseTarget.DBPassword"/> and <see cref="P:NLog.Targets.DatabaseTarget.DBDatabase"/>
|
||||
</remarks>
|
||||
<param name="logEvent">Event to render the layout inside the properties.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.EscapeValueForConnectionString(System.String)">
|
||||
<summary>
|
||||
Escape quotes and semicolons.
|
||||
See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CreateDatabaseParameter(System.Data.IDbCommand,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Create database parameter
|
||||
</summary>
|
||||
<param name="command">Current command.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.GetDatabaseParameterValue(NLog.LogEventInfo,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Extract parameter value from the logevent
|
||||
</summary>
|
||||
<param name="logEvent">Current logevent.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget.TransactionScope">
|
||||
<summary>
|
||||
Fake transaction
|
||||
|
||||
Transactions aren't in .NET Core: https://github.com/dotnet/corefx/issues/2949
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget.TransactionScopeOption">
|
||||
<summary>
|
||||
Fake option
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:NLog.Internal.ReflectionHelpers">
|
||||
<summary>
|
||||
Reflection helpers.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
packages/NLog.Database.5.3.2/lib/netstandard2.0/NLog.Database.dll
vendored
Normal file
BIN
packages/NLog.Database.5.3.2/lib/netstandard2.0/NLog.Database.dll
vendored
Normal file
Binary file not shown.
455
packages/NLog.Database.5.3.2/lib/netstandard2.0/NLog.Database.xml
vendored
Normal file
455
packages/NLog.Database.5.3.2/lib/netstandard2.0/NLog.Database.xml
vendored
Normal file
@@ -0,0 +1,455 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>NLog.Database</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:NLog.Targets.DatabaseCommandInfo">
|
||||
<summary>
|
||||
Information about database command + parameters.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the command.
|
||||
</summary>
|
||||
<value>The type of the command.</value>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string to run the command against. If not provided, connection string from the target is used.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Text">
|
||||
<summary>
|
||||
Gets or sets the command text.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.IgnoreFailures">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to ignore failures.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseCommandInfo.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each parameter contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='Command Options' order='10' />
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseObjectPropertyInfo">
|
||||
<summary>
|
||||
Information about object-property for the database-connection-object
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseObjectPropertyInfo"/> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the name for the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the value to assign on the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.PropertyType">
|
||||
<summary>
|
||||
Gets or sets the type of the object-property
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the property value
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseObjectPropertyInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing property string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='9' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseObjectPropertyInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseParameterInfo">
|
||||
<summary>
|
||||
Represents a parameter to a Database target.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.#ctor(System.String,NLog.Layouts.Layout)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseParameterInfo" /> class.
|
||||
</summary>
|
||||
<param name="parameterName">Name of the parameter.</param>
|
||||
<param name="parameterLayout">The parameter layout.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Name">
|
||||
<summary>
|
||||
Gets or sets the database parameter name.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='0' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Layout">
|
||||
<summary>
|
||||
Gets or sets the layout that should be use to calculate the value for the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='1' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DbType">
|
||||
<summary>
|
||||
Gets or sets the database parameter DbType.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='2' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Size">
|
||||
<summary>
|
||||
Gets or sets the database parameter size.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='3' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Precision">
|
||||
<summary>
|
||||
Gets or sets the database parameter precision.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='4' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Scale">
|
||||
<summary>
|
||||
Gets or sets the database parameter scale.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='5' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.ParameterType">
|
||||
<summary>
|
||||
Gets or sets the type of the parameter.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='6' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.DefaultValue">
|
||||
<summary>
|
||||
Gets or sets the fallback value when result value is not available
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='7' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Format">
|
||||
<summary>
|
||||
Gets or sets convert format of the database parameter value.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='8' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.Culture">
|
||||
<summary>
|
||||
Gets or sets the culture used for parsing parameter string-value for type-conversion
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='9' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseParameterInfo.AllowDbNull">
|
||||
<summary>
|
||||
Gets or sets whether empty value should translate into DbNull. Requires database column to allow NULL values.
|
||||
</summary>
|
||||
<docgen category='Parameter Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseParameterInfo.RenderValue(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Render Result Value
|
||||
</summary>
|
||||
<param name="logEvent">Log event for rendering</param>
|
||||
<returns>Result value when available, else fallback to defaultValue</returns>
|
||||
</member>
|
||||
<member name="T:NLog.Targets.DatabaseTarget">
|
||||
<summary>
|
||||
Writes log messages to the database using an ADO.NET provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
Note .NET Core application cannot load connectionstrings from app.config / web.config. Instead use ${configsetting}
|
||||
</para>
|
||||
<a href="https://github.com/nlog/nlog/wiki/Database-target">See NLog Wiki</a>
|
||||
</remarks>
|
||||
<seealso href="https://github.com/nlog/nlog/wiki/Database-target">Documentation on NLog Wiki</seealso>
|
||||
<example>
|
||||
<para>
|
||||
The configuration is dependent on the database type, because
|
||||
there are different methods of specifying connection string, SQL
|
||||
command and command parameters.
|
||||
</para>
|
||||
<para>MS SQL Server using System.Data.SqlClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/MSSQL/NLog.config" height="450" />
|
||||
<para>Oracle using System.Data.OracleClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.Native/NLog.config" height="350" />
|
||||
<para>Oracle using System.Data.OleDBClient:</para>
|
||||
<code lang="XML" source="examples/targets/Configuration File/Database/Oracle.OleDB/NLog.config" height="350" />
|
||||
<para>To set up the log target programmatically use code like this (an equivalent of MSSQL configuration):</para>
|
||||
<code lang="C#" source="examples/targets/Configuration API/Database/MSSQL/Example.cs" height="630" />
|
||||
</example>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.#ctor(System.String)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:NLog.Targets.DatabaseTarget" /> class.
|
||||
</summary>
|
||||
<param name="name">Name of the target.</param>
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBProvider">
|
||||
<summary>
|
||||
Gets or sets the name of the database provider.
|
||||
</summary>
|
||||
<remarks>
|
||||
<para>
|
||||
The parameter name should be a provider invariant name as registered in machine.config or app.config. Common values are:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>System.Data.SqlClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.sqlclient.aspx">SQL Sever Client</see></li>
|
||||
<li><c>System.Data.SqlServerCe.3.5</c> - <see href="https://www.microsoft.com/sqlserver/2005/en/us/compact.aspx">SQL Sever Compact 3.5</see></li>
|
||||
<li><c>System.Data.OracleClient</c> - <see href="https://msdn.microsoft.com/en-us/library/system.data.oracleclient.aspx">Oracle Client from Microsoft</see> (deprecated in .NET Framework 4)</li>
|
||||
<li><c>Oracle.DataAccess.Client</c> - <see href="https://www.oracle.com/technology/tech/windows/odpnet/index.html">ODP.NET provider from Oracle</see></li>
|
||||
<li><c>System.Data.SQLite</c> - <see href="http://sqlite.phxsoftware.com/">System.Data.SQLite driver for SQLite</see></li>
|
||||
<li><c>Npgsql</c> - <see href="https://www.npgsql.org/">Npgsql driver for PostgreSQL</see></li>
|
||||
<li><c>MySql.Data.MySqlClient</c> - <see href="https://www.mysql.com/downloads/connector/net/">MySQL Connector/Net</see></li>
|
||||
</ul>
|
||||
<para>(Note that provider invariant names are not supported on .NET Compact Framework).</para>
|
||||
<para>
|
||||
Alternatively the parameter value can be be a fully qualified name of the provider
|
||||
connection type (class implementing <see cref="T:System.Data.IDbConnection" />) or one of the following tokens:
|
||||
</para>
|
||||
<ul>
|
||||
<li><c>sqlserver</c>, <c>mssql</c>, <c>microsoft</c> or <c>msde</c> - SQL Server Data Provider</li>
|
||||
<li><c>oledb</c> - OLEDB Data Provider</li>
|
||||
<li><c>odbc</c> - ODBC Data Provider</li>
|
||||
</ul>
|
||||
</remarks>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string. When provided, it overrides the values
|
||||
specified in DBHost, DBUserName, DBPassword, DBDatabase.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallConnectionString">
|
||||
<summary>
|
||||
Gets or sets the connection string using for installation and uninstallation. If not provided, regular ConnectionString is being used.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.InstallDdlCommands">
|
||||
<summary>
|
||||
Gets the installation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.UninstallDdlCommands">
|
||||
<summary>
|
||||
Gets the uninstallation DDL commands.
|
||||
</summary>
|
||||
<docgen category='Installation Options' order='100' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.KeepConnection">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether to keep the
|
||||
database connection open between the log events.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBHost">
|
||||
<summary>
|
||||
Gets or sets the database host name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Server=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBUserName">
|
||||
<summary>
|
||||
Gets or sets the database user name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "User ID=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBPassword">
|
||||
<summary>
|
||||
Gets or sets the database password. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Password=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.DBDatabase">
|
||||
<summary>
|
||||
Gets or sets the database name. If the ConnectionString is not provided
|
||||
this value will be used to construct the "Database=" part of the
|
||||
connection string.
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandText">
|
||||
<summary>
|
||||
Gets or sets the text of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
Typically this is a SQL INSERT statement or a stored procedure call.
|
||||
It should use the database-specific parameters (marked as <c>@parameter</c>
|
||||
for SQL server or <c>:parameter</c> for Oracle, other data providers
|
||||
have their own notation) and not the layout renderers,
|
||||
because the latter is prone to SQL injection attacks.
|
||||
The layout renderers should be specified as <parameter /> elements instead.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='10' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandType">
|
||||
<summary>
|
||||
Gets or sets the type of the SQL command to be run on each log level.
|
||||
</summary>
|
||||
<remarks>
|
||||
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure".
|
||||
When using the value StoredProcedure, the commandText-property would
|
||||
normally be the name of the stored procedure. TableDirect method is not supported in this context.
|
||||
</remarks>
|
||||
<docgen category='SQL Statement' order='11' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.Parameters">
|
||||
<summary>
|
||||
Gets the collection of parameters. Each item contains a mapping
|
||||
between NLog layout and a database named or positional parameter.
|
||||
</summary>
|
||||
<docgen category='SQL Statement' order='14' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.ConnectionProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbConnection instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.CommandProperties">
|
||||
<summary>
|
||||
Gets the collection of properties. Each item contains a mapping
|
||||
between NLog layout and a property on the DbCommand instance
|
||||
</summary>
|
||||
<docgen category='Connection Options' order='50' />
|
||||
</member>
|
||||
<member name="P:NLog.Targets.DatabaseTarget.IsolationLevel">
|
||||
<summary>
|
||||
Configures isolated transaction batch writing. If supported by the database, then it will improve insert performance.
|
||||
</summary>
|
||||
<docgen category='Performance Tuning Options' order='10' />
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Install(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs installation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Uninstall(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Performs uninstallation which requires administrative permissions.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.IsInstalled(NLog.Config.InstallationContext)">
|
||||
<summary>
|
||||
Determines whether the item is installed.
|
||||
</summary>
|
||||
<param name="installationContext">The installation context.</param>
|
||||
<returns>
|
||||
Value indicating whether the item is installed or null if it is not possible to determine.
|
||||
</returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.InitializeTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.SetConnectionType">
|
||||
<summary>
|
||||
Set the <see cref="P:NLog.Targets.DatabaseTarget.ConnectionType"/> to use it for opening connections to the database.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CloseTarget">
|
||||
<inheritdoc/>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Writes the specified logging event to the database. It creates
|
||||
a new database command, prepares parameters for it by calculating
|
||||
layouts and executes the command.
|
||||
</summary>
|
||||
<param name="logEvent">The logging event.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.Write(System.Collections.Generic.IList{NLog.Common.AsyncLogEventInfo})">
|
||||
<summary>
|
||||
Writes an array of logging events to the log target. By default it iterates on all
|
||||
events and passes them to "Write" method. Inheriting classes can use this method to
|
||||
optimize batch writes.
|
||||
</summary>
|
||||
<param name="logEvents">Logging events to be written out.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.ExecuteDbCommandWithParameters(NLog.LogEventInfo,System.Data.IDbConnection,System.Data.IDbTransaction)">
|
||||
<summary>
|
||||
Write logEvent to database
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.BuildConnectionString(NLog.LogEventInfo)">
|
||||
<summary>
|
||||
Build the connectionstring from the properties.
|
||||
</summary>
|
||||
<remarks>
|
||||
Using <see cref="P:NLog.Targets.DatabaseTarget.ConnectionString"/> at first, and falls back to the properties <see cref="P:NLog.Targets.DatabaseTarget.DBHost"/>,
|
||||
<see cref="P:NLog.Targets.DatabaseTarget.DBUserName"/>, <see cref="P:NLog.Targets.DatabaseTarget.DBPassword"/> and <see cref="P:NLog.Targets.DatabaseTarget.DBDatabase"/>
|
||||
</remarks>
|
||||
<param name="logEvent">Event to render the layout inside the properties.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.EscapeValueForConnectionString(System.String)">
|
||||
<summary>
|
||||
Escape quotes and semicolons.
|
||||
See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms722656(v=vs.85)#setting-values-that-use-reserved-characters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.CreateDatabaseParameter(System.Data.IDbCommand,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Create database parameter
|
||||
</summary>
|
||||
<param name="command">Current command.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="M:NLog.Targets.DatabaseTarget.GetDatabaseParameterValue(NLog.LogEventInfo,NLog.Targets.DatabaseParameterInfo)">
|
||||
<summary>
|
||||
Extract parameter value from the logevent
|
||||
</summary>
|
||||
<param name="logEvent">Current logevent.</param>
|
||||
<param name="parameterInfo">Parameter configuration info.</param>
|
||||
</member>
|
||||
<member name="T:NLog.Internal.ReflectionHelpers">
|
||||
<summary>
|
||||
Reflection helpers.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
packages/RibbonWinForms.5.0.1.1/.signature.p7s
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/RibbonWinForms.5.0.1.1/RibbonWinForms.5.0.1.1.nupkg
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/RibbonWinForms.5.0.1.1.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/RibbonWinForms.5.0.1.1/lib/net20/System.Windows.Forms.Ribbon.dll
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/lib/net20/System.Windows.Forms.Ribbon.dll
vendored
Normal file
Binary file not shown.
BIN
packages/RibbonWinForms.5.0.1.1/lib/net40/System.Windows.Forms.Ribbon.dll
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/lib/net40/System.Windows.Forms.Ribbon.dll
vendored
Normal file
Binary file not shown.
BIN
packages/RibbonWinForms.5.0.1.1/lib/net45/System.Windows.Forms.Ribbon.dll
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/lib/net45/System.Windows.Forms.Ribbon.dll
vendored
Normal file
Binary file not shown.
BIN
packages/RibbonWinForms.5.0.1.1/lib/net46/System.Windows.Forms.Ribbon.dll
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/lib/net46/System.Windows.Forms.Ribbon.dll
vendored
Normal file
Binary file not shown.
BIN
packages/RibbonWinForms.5.0.1.1/lib/net461/System.Windows.Forms.Ribbon.dll
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/lib/net461/System.Windows.Forms.Ribbon.dll
vendored
Normal file
Binary file not shown.
BIN
packages/RibbonWinForms.5.0.1.1/lib/net471/System.Windows.Forms.Ribbon.dll
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/lib/net471/System.Windows.Forms.Ribbon.dll
vendored
Normal file
Binary file not shown.
BIN
packages/RibbonWinForms.5.0.1.1/lib/net472/System.Windows.Forms.Ribbon.dll
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/lib/net472/System.Windows.Forms.Ribbon.dll
vendored
Normal file
Binary file not shown.
BIN
packages/RibbonWinForms.5.0.1.1/lib/net48/System.Windows.Forms.Ribbon.dll
vendored
Normal file
BIN
packages/RibbonWinForms.5.0.1.1/lib/net48/System.Windows.Forms.Ribbon.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Syncfusion.Compression.Base.25.2.5/.signature.p7s
vendored
Normal file
BIN
packages/Syncfusion.Compression.Base.25.2.5/.signature.p7s
vendored
Normal file
Binary file not shown.
7
packages/Syncfusion.Compression.Base.25.2.5/LICENSE.txt
vendored
Normal file
7
packages/Syncfusion.Compression.Base.25.2.5/LICENSE.txt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
This software is covered by the Software License Agreement (the “Agreement”)(https://www.syncfusion.com/nuget/license?utm_source=nuget&utm_medium=listing). Any use in any form, regardless of where it was obtained is governed by the Agreement. The Agreement is a legal agreement between you (“You”, “Your”, or “Customer”) and Syncfusion, Inc., a Delaware corporation with its principal place of business located at 2501 Aerial Center Parkway, Suite 200, Morrisville, NC 27560 (“Syncfusion”). By accessing, downloading, viewing, possessing, or otherwise using any part of Syncfusion’s Essential Studio product, you are agreeing to be bound by the terms and conditions and agree to register with Syncfusion. If you do not agree to be bound by the terms and conditions of the Agreement, you cannot access, register, use, or view any part of Syncfusion’s Essential Studio product or lines of code.
|
||||
|
||||
This license is for Essential Studio Enterprise Edition.
|
||||
|
||||
TO READ THE COMPLETE LICENSE AGREEMENT: https://www.syncfusion.com/nuget/license?utm_source=nuget&utm_medium=listing,
|
||||
|
||||
IF AFTER READING THIS AGREEMENT YOU HAVE ANY QUESTIONS ABOUT THIS AGREEMENT, PLEASE CONTACT SYNCFUSION PRIOR TO USING THE SOFTWARE PRODUCT VIA EMAIL AT LEGALQUESTIONS@SYNCFUSION.COM
|
||||
BIN
packages/Syncfusion.Compression.Base.25.2.5/Syncfusion.Compression.Base.25.2.5.nupkg
vendored
Normal file
BIN
packages/Syncfusion.Compression.Base.25.2.5/Syncfusion.Compression.Base.25.2.5.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/Syncfusion.Compression.Base.25.2.5/lib/net40/Syncfusion.Compression.Base.dll
vendored
Normal file
BIN
packages/Syncfusion.Compression.Base.25.2.5/lib/net40/Syncfusion.Compression.Base.dll
vendored
Normal file
Binary file not shown.
12816
packages/Syncfusion.Compression.Base.25.2.5/lib/net40/Syncfusion.Compression.Base.xml
vendored
Normal file
12816
packages/Syncfusion.Compression.Base.25.2.5/lib/net40/Syncfusion.Compression.Base.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Syncfusion.Compression.Base.25.2.5/lib/net462/Syncfusion.Compression.Base.dll
vendored
Normal file
BIN
packages/Syncfusion.Compression.Base.25.2.5/lib/net462/Syncfusion.Compression.Base.dll
vendored
Normal file
Binary file not shown.
12816
packages/Syncfusion.Compression.Base.25.2.5/lib/net462/Syncfusion.Compression.Base.xml
vendored
Normal file
12816
packages/Syncfusion.Compression.Base.25.2.5/lib/net462/Syncfusion.Compression.Base.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Syncfusion.Compression.Base.25.2.5/lib/net6.0-windows7.0/Syncfusion.Compression.Base.dll
vendored
Normal file
BIN
packages/Syncfusion.Compression.Base.25.2.5/lib/net6.0-windows7.0/Syncfusion.Compression.Base.dll
vendored
Normal file
Binary file not shown.
12875
packages/Syncfusion.Compression.Base.25.2.5/lib/net6.0-windows7.0/Syncfusion.Compression.Base.xml
vendored
Normal file
12875
packages/Syncfusion.Compression.Base.25.2.5/lib/net6.0-windows7.0/Syncfusion.Compression.Base.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Syncfusion.Compression.Base.25.2.5/syncfusion_logo.png
vendored
Normal file
BIN
packages/Syncfusion.Compression.Base.25.2.5/syncfusion_logo.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
BIN
packages/Syncfusion.DocIO.WinForms.25.2.5/.signature.p7s
vendored
Normal file
BIN
packages/Syncfusion.DocIO.WinForms.25.2.5/.signature.p7s
vendored
Normal file
Binary file not shown.
7
packages/Syncfusion.DocIO.WinForms.25.2.5/LICENSE.txt
vendored
Normal file
7
packages/Syncfusion.DocIO.WinForms.25.2.5/LICENSE.txt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
This software is covered by the Software License Agreement (the “Agreement”)(https://www.syncfusion.com/nuget/license?utm_source=nuget&utm_medium=listing). Any use in any form, regardless of where it was obtained is governed by the Agreement. The Agreement is a legal agreement between you (“You”, “Your”, or “Customer”) and Syncfusion, Inc., a Delaware corporation with its principal place of business located at 2501 Aerial Center Parkway, Suite 200, Morrisville, NC 27560 (“Syncfusion”). By accessing, downloading, viewing, possessing, or otherwise using any part of Syncfusion’s Essential Studio product, you are agreeing to be bound by the terms and conditions and agree to register with Syncfusion. If you do not agree to be bound by the terms and conditions of the Agreement, you cannot access, register, use, or view any part of Syncfusion’s Essential Studio product or lines of code.
|
||||
|
||||
This license is for Essential Studio Enterprise Edition.
|
||||
|
||||
TO READ THE COMPLETE LICENSE AGREEMENT: https://www.syncfusion.com/nuget/license?utm_source=nuget&utm_medium=listing,
|
||||
|
||||
IF AFTER READING THIS AGREEMENT YOU HAVE ANY QUESTIONS ABOUT THIS AGREEMENT, PLEASE CONTACT SYNCFUSION PRIOR TO USING THE SOFTWARE PRODUCT VIA EMAIL AT LEGALQUESTIONS@SYNCFUSION.COM
|
||||
59
packages/Syncfusion.DocIO.WinForms.25.2.5/README.md
vendored
Normal file
59
packages/Syncfusion.DocIO.WinForms.25.2.5/README.md
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
### Syncfusion WinForms Word library
|
||||
The Syncfusion [WinForms Word library](https://www.syncfusion.com/word-framework/net/word-library?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) (Essential DocIO) is a feature-rich and high-performance .NET Word library that is used to create, read, and edit Word documents programmatically without Microsoft Office dependencies.
|
||||
|
||||

|
||||
|
||||
[Features Overview](https://www.syncfusion.com/word-framework/net/word-library?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) | [Docs](https://help.syncfusion.com/file-formats/docio/overview?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) | [API Reference](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocIO.html?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) | [Online Demo](https://ej2.syncfusion.com/aspnetmvc/DocIO/UpdateFields?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget#/material) | [GitHub Examples](https://github.com/SyncfusionExamples/DocIO-Examples?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) | [Blogs](https://www.syncfusion.com/blogs/?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget&s=word) | [Support](https://support.syncfusion.com/create?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) | [Forums](https://www.syncfusion.com/forums/windowsforms?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) | [Feedback](https://www.syncfusion.com/feedback/winforms?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget)
|
||||
|
||||
### Key Features
|
||||
* Support to [create Word document](https://help.syncfusion.com/file-formats/docio/getting-started?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) from scratch.
|
||||
* Support to open (read), modify and save existing Word documents.
|
||||
* Advanced [Mail merge](https://help.syncfusion.com/file-formats/docio/working-with-mailmerge?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) support with different data sources.
|
||||
* Ability to create or edit Word 97-2003 and later version documents (DOCX), and convert them to commonly used file formats such as [RTF](https://help.syncfusion.com/file-formats/docio/rtf?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [WordML](https://help.syncfusion.com/file-formats/docio/word-file-formats?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget#word-processing-xml-xml), [TXT](https://help.syncfusion.com/file-formats/docio/text?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [HTML](https://help.syncfusion.com/file-formats/docio/html?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) and vice versa.
|
||||
* Ability to export a Word document as a [PDF](https://help.syncfusion.com/file-formats/docio/word-to-pdf?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) file.
|
||||
* Ability to create and manipulate [charts](https://help.syncfusion.com/file-formats/docio/working-with-charts?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [Shapes](https://help.syncfusion.com/file-formats/docio/working-with-shapes?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), and [Group shape](https://help.syncfusion.com/file-formats/docio/working-with-shapes?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget#grouping-shapes) in DOCX and WordML format documents.
|
||||
* Ability to read and write [Built-In and Custom Document Properties](https://help.syncfusion.com/file-formats/docio/working-with-word-document?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget#working-with-word-document-properties).
|
||||
* Ability to [find and replace](https://help.syncfusion.com/file-formats/docio/working-with-find-and-replace?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) text with its original formatting.
|
||||
* Ability to insert [Bookmarks](https://help.syncfusion.com/file-formats/docio/working-with-bookmarks?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) and navigate corresponding bookmarks to insert, replace, and delete content.
|
||||
* Support to insert and edit the [form fields](https://help.syncfusion.com/file-formats/docio/working-with-form-fields?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget).
|
||||
* Support to protect the document to [restrict access](https://help.syncfusion.com/file-formats/docio/working-with-security?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget#protecting-word-document-from-editing) to the elements present within the document.
|
||||
* Ability to [encrypt and decrypt](https://help.syncfusion.com/file-formats/docio/working-with-security?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) Word documents.
|
||||
* Support to insert and extract OLE objects.
|
||||
* Support to run the DocIO applications in multi-thread and its thread safe.
|
||||
|
||||
### System Requirements
|
||||
* [System Requirements](https://help.syncfusion.com/file-formats/installation-and-upgrade/system-requirements?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget)
|
||||
|
||||
### Getting Started
|
||||
You can fetch the Syncfusion .NET Word library NuGet by simply running the command `Install-Package Syncfusion.DocIO.WinForms` from the Package Manager Console in Visual Studio.
|
||||
|
||||
Try the following code example to create a Word document.
|
||||
|
||||
```csharp
|
||||
using Syncfusion.DocIO;
|
||||
using Syncfusion.DocIO.DLS;
|
||||
|
||||
//Creates a new instance of WordDocument (Empty Word Document).
|
||||
using (WordDocument document = new WordDocument())
|
||||
{
|
||||
//Adds a section and a paragraph to the document.
|
||||
document.EnsureMinimal();
|
||||
//Appends text to the last paragraph of the document.
|
||||
document.LastParagraph.AppendText("Hello World");
|
||||
//Saves the Word document.
|
||||
document.Save("Sample.docx", FormatType.Docx);
|
||||
}
|
||||
```
|
||||
For more information to get started, refer to our [Getting Started Documentation page](https://help.syncfusion.com/file-formats/docio/getting-started?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget).
|
||||
|
||||
### License
|
||||
|
||||
This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of [Syncfusion's EULA](https://www.syncfusion.com/eula/es/?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget). You can purchase a license [here](https://www.syncfusion.com/sales/products?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) or start a free 30-day trial [here](https://www.syncfusion.com/account/manage-trials/start-trials?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget).
|
||||
|
||||
### About Syncfusion
|
||||
|
||||
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 27,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
|
||||
|
||||
Today, we provide 1700+ components and frameworks for web ([Blazor](https://www.syncfusion.com/blazor-components?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [ASP.NET Core](https://www.syncfusion.com/aspnet-core-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [ASP.NET MVC](https://www.syncfusion.com/aspnet-mvc-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [ASP.NET Web Forms](https://www.syncfusion.com/jquery/aspnet-webforms-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [Angular](https://www.syncfusion.com/angular-ui-components?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [React](https://www.syncfusion.com/react-ui-components?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [Vue](https://www.syncfusion.com/vue-ui-components?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), and [jQuery](https://www.syncfusion.com/jquery-ui-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget)), mobile ([.NET MAUI](https://www.syncfusion.com/maui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [Xamarin](https://www.syncfusion.com/xamarin-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [UWP](https://www.syncfusion.com/uwp-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), and [JavaScript](https://www.syncfusion.com/javascript-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget)), and desktop development ([WinForms](https://www.syncfusion.com/winforms-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [WPF](https://www.syncfusion.com/wpf-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [WinUI](https://www.syncfusion.com/winui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [.NET MAUI](https://www.syncfusion.com/maui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [Flutter](https://www.syncfusion.com/flutter-widgets?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), [Xamarin](https://www.syncfusion.com/xamarin-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget), and [UWP](https://www.syncfusion.com/uwp-ui-controls?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget)). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
|
||||
|
||||
[sales@syncfusion.com](mailto:sales@syncfusion.com?Subject=Syncfusion%20WinForms%20DocIO-%20NuGet) | [www.syncfusion.com](https://www.syncfusion.com?utm_source=nuget&utm_medium=listing&utm_campaign=winforms-docio-nuget) | Toll Free: 1-888-9 DOTNET
|
||||
BIN
packages/Syncfusion.DocIO.WinForms.25.2.5/Syncfusion.DocIO.WinForms.25.2.5.nupkg
vendored
Normal file
BIN
packages/Syncfusion.DocIO.WinForms.25.2.5/Syncfusion.DocIO.WinForms.25.2.5.nupkg
vendored
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user