Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
adriancs2 committed Jan 8, 2023
2 parents 6286660 + cc39c84 commit 20e7418
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Download **MySqlExpress Helper**: [https://github.com/adriancs2/MySqlExpress/rel

_The Demo of MySqlExpress (Available in source code):_

![MySqlExpress Demo](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/screenshot05.png)
![MySqlExpress Demo](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/screenshot05.png)

## Introduction

Expand Down Expand Up @@ -91,15 +91,15 @@ using (MySqlConnection conn = new MySqlConnection(config.ConnString))
```
The standard MySQL connection code block shown above can be saved into Visual Studio toolbox bar. So, next time, whenever you need this code block, you can drag and drop from the toolbox bar.

![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/02.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/02.png)

Now the code block is saved at the toolbox.

![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/03.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/03.png)

Next time, whenever you need the code block, just drag it from the toolbox into the text editor.

![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/05.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/05.png)

## Let's Start - Using MySqlExpress

Expand Down Expand Up @@ -205,7 +205,7 @@ Run the **Helper** app.

**First Mode: Private Fields + Public Properties**

![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/f03.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/f03.png)

Paste the text into the class:

Expand Down Expand Up @@ -248,7 +248,7 @@ Therefore, converting the field name to PacalCase will align with the C# naming

**Second Mode: Public Properties**

![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/g01.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/g01.png)

Then, paste all the copied text into the class:
```csharp
Expand All @@ -266,7 +266,7 @@ public class obPlayer

**Third Mode: Public Fields**

![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/f02.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/f02.png)

```csharp
public class obPlayer
Expand Down Expand Up @@ -347,7 +347,7 @@ The output table structure is customized.

To create a non-standardized table's object structure, open the Helper program. Key in the customized SQL JOIN statement.

![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/g03.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/g03.png)

Create the custom class object:

Expand Down Expand Up @@ -476,7 +476,7 @@ Performs INSERT by using dictionary.
> **Note:**
> **The dictionary values will be inserted as parameterized values**
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/g04.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/g04.png)

The field "id" is a primary key, auto-increment field. Therefore, we don't need to insert data for this field.

Expand Down Expand Up @@ -595,11 +595,11 @@ Update it > if the primary keys existed.

First, generate the dictionary entries:

![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/g05.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/g05.png)

Next, generate the update column list:

![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/main/wiki/g06.png)
![](https://raw.githubusercontent.com/adriancs2/MySqlExpress/master/wiki/g06.png)

Paste it at the code block and runs the Insert Update method:
```csharp
Expand Down

0 comments on commit 20e7418

Please sign in to comment.