Skip to content

Commit 449a73e

Browse files
authored
Merge pull request #22 from data-solution-automation-engine/dev_snowflake
Merge dev snowflake into main
2 parents 029984e + 7e978e7 commit 449a73e

17 files changed

+397
-273
lines changed

Virtual_EDW/CustomTabPage.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Drawing;
55
using System.IO;
66
using System.Linq;
7-
using System.Text.Json.Nodes;
87
using System.Text.RegularExpressions;
98
using System.Windows.Forms;
109
using HandlebarsDotNet;
@@ -221,6 +220,7 @@ public CustomTabPage(string classification, string notes, Dictionary<string, VDW
221220
localRichTextBoxGenerationOutput.Dock = DockStyle.Fill;
222221
localRichTextBoxGenerationOutput.Text = $"No {_inputNiceName} logic has been generated at the moment.";
223222
localRichTextBoxGenerationOutput.Location = new Point(3, 6);
223+
localRichTextBoxGenerationOutput.Font = new Font("Segoe UI", 8.25F, FontStyle.Regular, GraphicsUnit.Point);
224224
localRichTextBoxGenerationOutput.Size = new Size(882, 535);
225225
localRichTextBoxGenerationOutput.BorderStyle = BorderStyle.None;
226226

@@ -321,6 +321,7 @@ public CustomTabPage(string classification, string notes, Dictionary<string, VDW
321321
localRichTextBoxGenerationTemplate.Location = new Point(3, 82);
322322
localRichTextBoxGenerationTemplate.Size = new Size(195, 30);
323323
localRichTextBoxGenerationTemplate.BorderStyle = BorderStyle.None;
324+
localRichTextBoxGenerationTemplate.Font = new Font("Segoe UI", 8.25F, FontStyle.Regular, GraphicsUnit.Point);
324325
localRichTextBoxGenerationTemplate.AcceptsTab = true;
325326
localRichTextBoxGenerationTemplate.TextChanged += CommitTemplateToMemory;
326327
#endregion
@@ -638,7 +639,10 @@ private void GenerateFromTemplate()
638639
{
639640
try
640641
{
641-
VdwUtility.CreateVdwSchema(new SqlConnection { ConnectionString = localConnection.CreateSqlServerConnectionString(false) });
642+
if (localConnection.TechnologyConnectionType == TechnologyConnectionType.SqlServer)
643+
{
644+
VdwUtility.CreateVdwSchema(new SqlConnection { ConnectionString = localConnection.CreateSqlServerConnectionString(false) });
645+
}
642646
}
643647
catch
644648
{
@@ -649,7 +653,7 @@ private void GenerateFromTemplate()
649653

650654
try
651655
{
652-
VdwUtility.ExecuteInDatabase(new SqlConnection { ConnectionString = localConnection.CreateSqlServerConnectionString(false) }, result);
656+
VdwUtility.ExecuteInDatabaseSqlServer(localConnection, result);
653657
}
654658
catch
655659
{

Virtual_EDW/Form_About.Designer.cs

Lines changed: 56 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Virtual_EDW/Form_About.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public partial class FormAbout : FormBase
99

1010
public FormAbout()
1111
{
12+
AutoScaleMode = AutoScaleMode.Dpi;
1213
InitializeComponent();
1314
FormBorderStyle = FormBorderStyle.FixedSingle;
1415
}

Virtual_EDW/Form_About.resx

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<root>
3-
<!--
3+
<!--
44
Microsoft ResX Schema
5-
5+
66
Version 2.0
7-
8-
The primary goals of this format is to allow a simple XML format
9-
that is mostly human readable. The generation and parsing of the
10-
various data types are done through the TypeConverter classes
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
1111
associated with the data types.
12-
12+
1313
Example:
14-
14+
1515
... ado.net/XML headers & schema ...
1616
<resheader name="resmimetype">text/microsoft-resx</resheader>
1717
<resheader name="version">2.0</resheader>
@@ -26,36 +26,36 @@
2626
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
2727
<comment>This is a comment</comment>
2828
</data>
29-
30-
There are any number of "resheader" rows that contain simple
29+
30+
There are any number of "resheader" rows that contain simple
3131
name/value pairs.
32-
33-
Each data row contains a name, and value. The row also contains a
34-
type or mimetype. Type corresponds to a .NET class that support
35-
text/value conversion through the TypeConverter architecture.
36-
Classes that don't support this are serialized and stored with the
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
3737
mimetype set.
38-
39-
The mimetype is used for serialized objects, and tells the
40-
ResXResourceReader how to depersist the object. This is currently not
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
4141
extensible. For a given mimetype the value must be set accordingly:
42-
43-
Note - application/x-microsoft.net.object.binary.base64 is the format
44-
that the ResXResourceWriter will generate, however the reader can
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
4545
read any of the formats listed below.
46-
46+
4747
mimetype: application/x-microsoft.net.object.binary.base64
48-
value : The object must be serialized with
48+
value : The object must be serialized with
4949
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
5050
: and then encoded with base64 encoding.
5151
5252
mimetype: application/x-microsoft.net.object.soap.base64
53-
value : The object must be serialized with
53+
value : The object must be serialized with
5454
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
5555
: and then encoded with base64 encoding.
5656
5757
mimetype: application/x-microsoft.net.object.bytearray.base64
58-
value : The object must be serialized into a byte array
58+
value : The object must be serialized into a byte array
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
@@ -124,7 +124,7 @@
124124
<data name="$this.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
125125
<value>
126126
iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
127-
EAAACxABrSO9dQAAAAd0SU1FB9wGDQkHNlsoY1gAACL/SURBVHhe3Z2HfxT30cb9N71vutOcxHHiJHYS
127+
DwAACw8BkvkDpQAAAAd0SU1FB9wGDQkHNlsoY1gAACL/SURBVHhe3Z2HfxT30cb9N71vutOcxHHiJHYS
128128
Yzu244IxuBtXHMAVYwwYd9MkikAgVBDqQkhCFUkgQEgCRO8SXeWKTqc673zndqXV+U7GcH5zyXw++iDd
129129
7t3tzs7vmWeemV1uk/8AC/vDcmHPBTlZcdJ++P0/xZLawb5On+yYu0O+/p/lsuaONbLh7g2y8U8bZO1v
130130
1+rPOimfV27OT2ZLWgcTpSm/SJX0v6RLwTP5UjFvh1R/UCU1+lMxv1yKni+UjL9vVsevlatHrjrvSj5L

0 commit comments

Comments
 (0)