update 20240925
This commit is contained in:
@@ -31,6 +31,34 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Accessibility" />
|
||||
<Reference Include="Database">
|
||||
<HintPath>..\Database\bin\Debug\Database.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FastReport, Version=2024.1.0.0, Culture=neutral, PublicKeyToken=db7e5ce63278458c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FastReport.Net.Pro.2024.1.0\lib\net462\FastReport.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FastReport.Bars, Version=2024.1.0.0, Culture=neutral, PublicKeyToken=db7e5ce63278458c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FastReport.Net.Pro.2024.1.0\lib\net462\FastReport.Bars.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FastReport.Compat, Version=2023.3.0.0, Culture=neutral, PublicKeyToken=406e1f4c3c8ef97e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FastReport.Compat.2023.3.0\lib\net40\FastReport.Compat.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FastReport.DataVisualization, Version=2023.3.0.0, Culture=neutral, PublicKeyToken=406e1f4c3c8ef97e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FastReport.DataVisualization.2023.3.0\lib\net40\FastReport.DataVisualization.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FastReport.Editor, Version=2024.1.0.0, Culture=neutral, PublicKeyToken=db7e5ce63278458c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FastReport.Net.Pro.2024.1.0\lib\net462\FastReport.Editor.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FastReport.VSDesign, Version=1.0.0.0, Culture=neutral, PublicKeyToken=db7e5ce63278458c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FastReport.Net.Pro.2024.1.0\lib\net462\FastReport.VSDesign.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="FastReport.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=db7e5ce63278458c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FastReport.Net.Pro.2024.1.0\lib\net462\FastReport.Web.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Helper">
|
||||
<HintPath>..\Helper\bin\Debug\Helper.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="QRCoder, Version=1.6.0.0, Culture=neutral, PublicKeyToken=c4ed5b9ae8358a28, processorArchitecture=MSIL">
|
||||
@@ -39,6 +67,8 @@
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
@@ -94,6 +124,12 @@
|
||||
<Compile Include="Datamatrix\DmtxVector2.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="qr\qrcode.cs" />
|
||||
<Compile Include="UI\Barcodekleber.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UI\Barcodekleber.Designer.cs">
|
||||
<DependentUpon>Barcodekleber.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="BarcodeLib-Diagramm.cd" />
|
||||
@@ -102,5 +138,10 @@
|
||||
<ItemGroup>
|
||||
<Content Include="Barcoded\Barcoded.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="UI\Barcodekleber.resx">
|
||||
<DependentUpon>Barcodekleber.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -1,4 +1,5 @@
|
||||
using DataMatrix.net;
|
||||
using BarcodeLib.UI;
|
||||
using DataMatrix.net;
|
||||
using DatamatrixNF;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -127,5 +128,13 @@ namespace BarcodeLib
|
||||
|
||||
return newImage;
|
||||
}
|
||||
|
||||
public void Gen_BCK(string connectionstring)
|
||||
{
|
||||
Barcodekleber bck = new Barcodekleber(connectionstring);
|
||||
bck.Show();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
186
BarcodeLib/UI/Barcodekleber.Designer.cs
generated
Normal file
186
BarcodeLib/UI/Barcodekleber.Designer.cs
generated
Normal file
@@ -0,0 +1,186 @@
|
||||
namespace BarcodeLib.UI
|
||||
{
|
||||
partial class Barcodekleber
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.lblFormat = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.previewControl1 = new FastReport.Preview.PreviewControl();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.cbxreportname = new System.Windows.Forms.ComboBox();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblFormat
|
||||
//
|
||||
this.lblFormat.AutoSize = true;
|
||||
this.lblFormat.Location = new System.Drawing.Point(6, 16);
|
||||
this.lblFormat.Name = "lblFormat";
|
||||
this.lblFormat.Size = new System.Drawing.Size(87, 13);
|
||||
this.lblFormat.TabIndex = 0;
|
||||
this.lblFormat.Text = "Ettiketten-Format";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(6, 72);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(87, 13);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "Anzahl Ettiketten";
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.Location = new System.Drawing.Point(6, 88);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(55, 20);
|
||||
this.textBox1.TabIndex = 3;
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(6, 114);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(75, 23);
|
||||
this.button1.TabIndex = 4;
|
||||
this.button1.Text = "Aufbereiten";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(122, 114);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(75, 23);
|
||||
this.button2.TabIndex = 5;
|
||||
this.button2.Text = "Design";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// previewControl1
|
||||
//
|
||||
this.previewControl1.BackColor = System.Drawing.SystemColors.AppWorkspace;
|
||||
this.previewControl1.Buttons = ((FastReport.PreviewButtons)(((((((((((FastReport.PreviewButtons.Print | FastReport.PreviewButtons.Open)
|
||||
| FastReport.PreviewButtons.Save)
|
||||
| FastReport.PreviewButtons.Email)
|
||||
| FastReport.PreviewButtons.Find)
|
||||
| FastReport.PreviewButtons.Zoom)
|
||||
| FastReport.PreviewButtons.Outline)
|
||||
| FastReport.PreviewButtons.PageSetup)
|
||||
| FastReport.PreviewButtons.Edit)
|
||||
| FastReport.PreviewButtons.Watermark)
|
||||
| FastReport.PreviewButtons.Navigator)));
|
||||
this.previewControl1.Clouds = FastReport.PreviewClouds.None;
|
||||
this.previewControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.previewControl1.Exports = ((FastReport.PreviewExports)((((((((((((((((((((((((FastReport.PreviewExports.PDFExport | FastReport.PreviewExports.RTFExport)
|
||||
| FastReport.PreviewExports.HTMLExport)
|
||||
| FastReport.PreviewExports.MHTExport)
|
||||
| FastReport.PreviewExports.XMLExport)
|
||||
| FastReport.PreviewExports.Excel2007Export)
|
||||
| FastReport.PreviewExports.Excel2003Document)
|
||||
| FastReport.PreviewExports.Word2007Export)
|
||||
| FastReport.PreviewExports.PowerPoint2007Export)
|
||||
| FastReport.PreviewExports.ODSExport)
|
||||
| FastReport.PreviewExports.ODTExport)
|
||||
| FastReport.PreviewExports.XPSExport)
|
||||
| FastReport.PreviewExports.CSVExport)
|
||||
| FastReport.PreviewExports.DBFExport)
|
||||
| FastReport.PreviewExports.TextExport)
|
||||
| FastReport.PreviewExports.ZplExport)
|
||||
| FastReport.PreviewExports.ImageExport)
|
||||
| FastReport.PreviewExports.XAMLExport)
|
||||
| FastReport.PreviewExports.SVGExport)
|
||||
| FastReport.PreviewExports.PPMLExport)
|
||||
| FastReport.PreviewExports.PSExport)
|
||||
| FastReport.PreviewExports.JsonExport)
|
||||
| FastReport.PreviewExports.LaTeXExport)
|
||||
| FastReport.PreviewExports.DxfExport)));
|
||||
this.previewControl1.Font = new System.Drawing.Font("Tahoma", 8F);
|
||||
this.previewControl1.Location = new System.Drawing.Point(215, 0);
|
||||
this.previewControl1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
||||
this.previewControl1.Name = "previewControl1";
|
||||
this.previewControl1.PageOffset = new System.Drawing.Point(10, 10);
|
||||
this.previewControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||
this.previewControl1.SaveInitialDirectory = null;
|
||||
this.previewControl1.Size = new System.Drawing.Size(949, 907);
|
||||
this.previewControl1.TabIndex = 26;
|
||||
this.previewControl1.UIStyle = FastReport.Utils.UIStyle.VisualStudio2005;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.cbxreportname);
|
||||
this.groupBox1.Controls.Add(this.lblFormat);
|
||||
this.groupBox1.Controls.Add(this.button2);
|
||||
this.groupBox1.Controls.Add(this.label1);
|
||||
this.groupBox1.Controls.Add(this.button1);
|
||||
this.groupBox1.Controls.Add(this.textBox1);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.groupBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(215, 907);
|
||||
this.groupBox1.TabIndex = 27;
|
||||
this.groupBox1.TabStop = false;
|
||||
//
|
||||
// cbxreportname
|
||||
//
|
||||
this.cbxreportname.FormattingEnabled = true;
|
||||
this.cbxreportname.Location = new System.Drawing.Point(9, 33);
|
||||
this.cbxreportname.Name = "cbxreportname";
|
||||
this.cbxreportname.Size = new System.Drawing.Size(188, 21);
|
||||
this.cbxreportname.TabIndex = 6;
|
||||
//
|
||||
// Barcodekleber
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1164, 907);
|
||||
this.Controls.Add(this.previewControl1);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Name = "Barcodekleber";
|
||||
this.Text = "Barcodekleber";
|
||||
this.Load += new System.EventHandler(this.Barcodekleber_Load);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Label lblFormat;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private FastReport.Preview.PreviewControl previewControl1;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.ComboBox cbxreportname;
|
||||
}
|
||||
}
|
||||
111
BarcodeLib/UI/Barcodekleber.cs
Normal file
111
BarcodeLib/UI/Barcodekleber.cs
Normal file
@@ -0,0 +1,111 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace BarcodeLib.UI
|
||||
{
|
||||
public partial class Barcodekleber : Form
|
||||
{
|
||||
string connecionstring = string.Empty;
|
||||
public Barcodekleber()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public Barcodekleber(string connectoinstring)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.connecionstring = connectoinstring;
|
||||
}
|
||||
|
||||
|
||||
private void Barcodekleber_Load(object sender, EventArgs e)
|
||||
{
|
||||
DirectoryInfo d = new DirectoryInfo(Application.StartupPath+ @"\bck"); //Assuming Test is your Folder
|
||||
|
||||
FileInfo[] Files = d.GetFiles("*.frx"); //Getting Text files
|
||||
string str = "";
|
||||
|
||||
foreach (FileInfo file in Files)
|
||||
{
|
||||
this.cbxreportname.Items.Add(file.Name);
|
||||
}
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataTable dt = new DataTable();
|
||||
DataSet dataSet = new DataSet();
|
||||
dt.Columns.Add("barcode");
|
||||
for (int i = 0; i < Convert.ToInt32(textBox1.Text); i++)
|
||||
{
|
||||
DataRow dr = dt.NewRow();
|
||||
string s;
|
||||
s = i.ToString();
|
||||
while (s.Length < 8) { s = "0" + s; };
|
||||
dr[0] = "" + s;
|
||||
dt.Rows.Add(dr);
|
||||
}
|
||||
dataSet.Tables.Add(dt);
|
||||
dt.TableName = "Barcodes";
|
||||
FastReport.Report report = new FastReport.Report();
|
||||
if (System.IO.File.Exists(Application.StartupPath + @"\bck\" + cbxreportname.Text) == true)
|
||||
{
|
||||
report.Load(Application.StartupPath + @"\bck\" + cbxreportname.Text);
|
||||
}
|
||||
|
||||
else { }
|
||||
report.RegisterData(dataSet);
|
||||
report.GetDataSource("Barcodes").Enabled = true;
|
||||
report.Preview = previewControl1;
|
||||
report.Prepare();
|
||||
report.Design();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataTable dt = new DataTable();
|
||||
DataSet dataSet = new DataSet();
|
||||
dt.Columns.Add("barcode");
|
||||
for (int i = 0; i < Convert.ToInt32(textBox1.Text); i++)
|
||||
{
|
||||
DataRow dr = dt.NewRow();
|
||||
Database.DB dB = new Database.DB(connecionstring);
|
||||
string key = dB.get_dbkey("barcodeetikette");
|
||||
|
||||
string s;
|
||||
|
||||
s = key;
|
||||
while (s.Length < 5) { s = "0" + s; };
|
||||
s = DateTime.Now.Year.ToString()+s;
|
||||
s = s+Helper.DivFnkt.modulo10(s).ToString();
|
||||
dr[0] = s;
|
||||
dt.Rows.Add(dr);
|
||||
}
|
||||
dataSet.Tables.Add(dt);
|
||||
dt.TableName = "Barcodes";
|
||||
FastReport.Report report = new FastReport.Report();
|
||||
if (System.IO.File.Exists(Application.StartupPath + @"\bck\" + cbxreportname.Text) == true)
|
||||
{
|
||||
report.Load(Application.StartupPath + @"\bck\" + cbxreportname.Text);
|
||||
}
|
||||
|
||||
else { }
|
||||
report.RegisterData(dataSet);
|
||||
report.GetDataSource("Barcodes").Enabled = true;
|
||||
report.Preview = previewControl1;
|
||||
report.Prepare();
|
||||
report.ShowPrepared();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
120
BarcodeLib/UI/Barcodekleber.resx
Normal file
120
BarcodeLib/UI/Barcodekleber.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
Binary file not shown.
Binary file not shown.
BIN
BarcodeLib/bin/Debug/Database.dll
Normal file
BIN
BarcodeLib/bin/Debug/Database.dll
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/Database.pdb
Normal file
BIN
BarcodeLib/bin/Debug/Database.pdb
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/FastReport.Bars.dll
Normal file
BIN
BarcodeLib/bin/Debug/FastReport.Bars.dll
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/FastReport.Compat.dll
Normal file
BIN
BarcodeLib/bin/Debug/FastReport.Compat.dll
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/FastReport.DataVisualization.dll
Normal file
BIN
BarcodeLib/bin/Debug/FastReport.DataVisualization.dll
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/FastReport.Editor.dll
Normal file
BIN
BarcodeLib/bin/Debug/FastReport.Editor.dll
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/FastReport.VSDesign.dll
Normal file
BIN
BarcodeLib/bin/Debug/FastReport.VSDesign.dll
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/FastReport.Web.dll
Normal file
BIN
BarcodeLib/bin/Debug/FastReport.Web.dll
Normal file
Binary file not shown.
2802
BarcodeLib/bin/Debug/FastReport.Web.xml
Normal file
2802
BarcodeLib/bin/Debug/FastReport.Web.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
BarcodeLib/bin/Debug/FastReport.dll
Normal file
BIN
BarcodeLib/bin/Debug/FastReport.dll
Normal file
Binary file not shown.
57644
BarcodeLib/bin/Debug/FastReport.xml
Normal file
57644
BarcodeLib/bin/Debug/FastReport.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
BarcodeLib/bin/Debug/Helper.dll
Normal file
BIN
BarcodeLib/bin/Debug/Helper.dll
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/Helper.pdb
Normal file
BIN
BarcodeLib/bin/Debug/Helper.pdb
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/Logging.dll
Normal file
BIN
BarcodeLib/bin/Debug/Logging.dll
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/Logging.pdb
Normal file
BIN
BarcodeLib/bin/Debug/Logging.pdb
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/Model.dll
Normal file
BIN
BarcodeLib/bin/Debug/Model.dll
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/Model.pdb
Normal file
BIN
BarcodeLib/bin/Debug/Model.pdb
Normal file
Binary file not shown.
BIN
BarcodeLib/bin/Debug/NLog.Database.dll
Normal file
BIN
BarcodeLib/bin/Debug/NLog.Database.dll
Normal file
Binary file not shown.
461
BarcodeLib/bin/Debug/NLog.Database.xml
Normal file
461
BarcodeLib/bin/Debug/NLog.Database.xml
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
BarcodeLib/bin/Debug/NLog.dll
Normal file
BIN
BarcodeLib/bin/Debug/NLog.dll
Normal file
Binary file not shown.
29155
BarcodeLib/bin/Debug/NLog.xml
Normal file
29155
BarcodeLib/bin/Debug/NLog.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
BarcodeLib/obj/Debug/BarcodeLib.UI.Barcodekleber.resources
Normal file
BIN
BarcodeLib/obj/Debug/BarcodeLib.UI.Barcodekleber.resources
Normal file
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
890d912a29966fc168b1b7e4570e21526b0378c87c78bdb01468a52e38f382ad
|
||||
09a6e44a4ac333ab0f068ab3c99038cca6e3707fc61d127e7b9140cc7a5aa39c
|
||||
|
||||
@@ -14,3 +14,26 @@ E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\obj\Debug\BarcodeLib.csproj.CoreComp
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\obj\Debug\BarcodeLib.csproj.Up2Date
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\obj\Debug\BarcodeLib.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\obj\Debug\BarcodeLib.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\FastReport.Bars.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\FastReport.Compat.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\FastReport.DataVisualization.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\FastReport.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\FastReport.Editor.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\FastReport.VSDesign.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\FastReport.Web.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\FastReport.xml
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\FastReport.Web.xml
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\obj\Debug\BarcodeLib.UI.Barcodekleber.resources
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\obj\Debug\BarcodeLib.csproj.GenerateResource.cache
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\Database.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\Helper.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\Model.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\Logging.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\NLog.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\NLog.Database.dll
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\Database.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\Helper.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\Model.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\Logging.pdb
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\NLog.xml
|
||||
E:\Software-Projekte\OnDoc\OnDoc\BarcodeLib\bin\Debug\NLog.Database.xml
|
||||
|
||||
BIN
BarcodeLib/obj/Debug/BarcodeLib.csproj.GenerateResource.cache
Normal file
BIN
BarcodeLib/obj/Debug/BarcodeLib.csproj.GenerateResource.cache
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="FastReport.Compat" version="2023.3.0" targetFramework="net481" />
|
||||
<package id="FastReport.DataVisualization" version="2023.3.0" targetFramework="net481" />
|
||||
<package id="FastReport.Net.Pro" version="2024.1.0" targetFramework="net481" />
|
||||
<package id="QRCoder" version="1.6.0" targetFramework="net481" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user