Skip to content

Commit 5cfb61b

Browse files
Merge pull request #16 from mariloutb/master
correction
2 parents 33ef528 + 0f7396d commit 5cfb61b

13 files changed

+57
-61
lines changed

docs2/pages/documentations/api.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
Let take a very short overview with the API
5+
Let's take a very short overview with the API
66

77

88
```csharp
@@ -13,9 +13,9 @@ SELECT SQLNET::New('x+y').ValueInt('x', 1).ValueInt('y', 2).EvalInt() as Result
1313

1414
- **SQLNET:** A CLR Type created by Eval SQL.NET library
1515
- **"::":** This is how you call static method in SQL CLR
16-
- **New:** A static method which create a new instance of SQLNET Type
17-
- **ValueInt:** Set a int value for a specific parameter name used in the expression
18-
- **EvalInt:** Evaluate the expression and return a result of type INT
16+
- **New:** A static method which creates a new instance of SQLNET Type
17+
- **ValueInt:** Sets a int value for a specific parameter name used in the expression
18+
- **EvalInt:** Evaluates the expression and return a result of type INT
1919

2020
<div class="card-group">
2121

docs2/pages/documentations/eval-expressions/eval-execute.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ You can specify parameter value to use in the expression from various way:
1414
- Class Member
1515
- Dictionary
1616

17-
Under the hood, the fist time an expression is executed, it's getting compiled and the delegate is stored in the memory before being returned and executed. All future call from the same expression will retrieve the delegate from the memory to optimize the performance.
17+
Under the hood, the fist time an expression is executed, it's getting compiled and the delegate is stored in the memory before being returned and executed. All future calls from the same expression will retrieve the delegate from the memory to optimize the performance.
1818

19-
Even with this optimization, if you have to evaluate multiple times the same expression, by example in a for loop, we highly recommend you to use directly the delegate returning from the Compile method instead.
19+
Even with this optimization, if you have to evaluate multiple times the same expression, for example in a for loop, we highly recommend you to use directly the delegate returning from the Compile method instead.
2020

2121
## Execute and return a strongly typed result
2222
You can return the result as a strongly typed type:

docs2/pages/faq/faq-eval-sql-net.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Bug Fixing
44

5-
You find a bug when compiling? [Report it](https://github.com/zzzprojects/Eval-SQL.NET/issues) and it will be fixed usually within one business day.
5+
You found a bug when compiling? [Report it](https://github.com/zzzprojects/Eval-SQL.NET/issues) and it will be fixed, usually within one business day.
66

77
## Namespace
88

@@ -26,17 +26,17 @@ All namespace support by SQL CLR are supported by Eval SQL.NET.
2626
- System.Xml
2727
- System.Core.dll
2828
- System.Xml.Linq.dll
29-
- All common namespace and extensions method can be used without specifying the fullname.
29+
- All common namespaces and extension methods can be used without specifying the fullname.
3030

3131
You can see the full list [here](https://github.com/zzzprojects/Eval-SQL.NET/blob/master/src/Z.Expressions.SqlServer.Eval/EvalContext/EvalContext.RegisterDefaultAlias.cs)
3232

33-
Let us know if you believe we have missing some.
33+
Let us know if you believe we missed some.
3434

3535
## Performance
3636

3737
You are worried about performance? Don't worry, Eval SQL.NET is super-fast and can evaluate over 150,000 expressions in a loop under one second and over 1,000,000 using a table!
3838

39-
Result highly vary depending of your SQL Server performance and expression to evaluate.
39+
Result highly vary depending of your SQL Server performance and expressions to evaluate.
4040

4141

4242
```csharp
@@ -66,21 +66,21 @@ PRINT 'Duration = ' + CONVERT(VARCHAR(30), @endTime - @starttime, 114)
6666

6767
## Security
6868

69-
SQL CLR allow three type of permission:
69+
SQL CLR allows three types of permissions:
7070

7171
- SAFE
7272
- EXTERNAL_ACCESS
73-
- UNSAFE Eval SQL.NET support all types and is installed by default with SAFE permissions. Read more about [SQL CLR Permissions](https://msdn.microsoft.com/en-CA/library/ms345101.aspx)
73+
- UNSAFE Eval SQL.NET supports all types and is installed by default with SAFE permissions. Read more about [SQL CLR Permissions](https://msdn.microsoft.com/en-CA/library/ms345101.aspx)
7474
7575
## SQL Injection
7676

77-
This library allow to use parameter, so no SQL Injection is possible!
77+
This library allows to use parameter, so no SQL Injection is possible!
7878

79-
However if you build the string to evaluate as you build a dynamic SQL, then there is nothing we can do for you.
79+
However, if you build the string to evaluate as you build a dynamic SQL, then there is nothing we can do for you.
8080

8181
## Decimal throw an error!
8282

83-
In C#, decimal must be suffixed with "m" to make them valid. By default "1.1" in C# is a double which cannot be added with decimal value.
83+
In C#, decimals must be suffixed with "m" to make them valid. By default "1.1" in C# is a double which cannot be added with decimal value.
8484

8585

8686
```csharp

docs2/pages/faq/faq-general.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# FAQ - General
22

33
## Which Payment method do you support?
4-
We support the following payment method:
4+
We support the following payment methods:
55

66
- PayPal
77
- Check
88
- Bank Transfer
99

1010
## Can I purchase this product from a Reseller?
11-
Yes, just let him know to contact us.
11+
Yes, just let him know how to contact us.
1212

1313
## What's your average SLA response and resolution times?
1414
We try to provide an outstanding support service.
1515

1616
We normally answer very fast, often within one hour.
1717

18-
Most fixes is resolved within one business day.
18+
Most fixes are resolved within one business day.
1919

20-
## Do you support EF Core
20+
## Do you support EF Core?
2121
We do not yet. We are currently re-writing the library to support it.

docs2/pages/faq/faq-installation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# FAQ - Installation
22

33
## How to I Install your product?
4-
It simple, you download it from NuGet and add it to your project.
4+
It's simple, you download it from NuGet and add it to your project.
55

66
More Info: [Tutorials - Installing](installing)
77

8-
## I have installed your product, but I don't see your extensions method
8+
## I have installed your product, but I don't see your extensions method.
99
- Make sure to install it in the right project
10-
- Make sure your project support .NET40 or better
10+
- Make sure your project supports .NET40 or better

docs2/pages/faq/faq-license.md

+13-15
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
### What's a developer seat?
66
A developer seat is a developer working for your company and developing code directly with our product.
77

8-
You don't have to purchase developer seat for front-end developer or back-end developer which doesn't use our product API.
8+
You don't have to purchase a developer seat for front-end developer or back-end developer which doesn't use our product API.
99

10-
Since you buy developer seat, you can develop an unlimited amount of projects within your company.
10+
Since you buy developer a seat, you can develop an unlimited amount of projects within your company.
1111

1212
### What's the cost for additional developer seat?
1313
The cost for additional developer seat is usually extremely low. We want to make sure our library is accessible for small and large company.
1414

15-
### Do developer seat are transferable?
15+
### Are developer seats are transferable?
1616
Yes, a developer seat can be transferred to any employee within your company.
1717

1818
## Perpertual License
@@ -30,40 +30,38 @@ Don't worry. Your product continue to work forever!
3030

3131
You can still download and use any version released before the support & upgrade expiration date.
3232

33-
You will need to renew to use version released after the support & upgrade expiration date.
33+
You will need to renew to use versions released after the support & upgrade expiration date.
3434

3535
### How do I renew my License?
36-
We usually start to send renewal mail two months before the support & upgrade expiration date.
36+
We usually start to send renewal emails one months before the support & upgrade expiration date.
3737

38-
If you didn't receive such email, you could contact us directly: [email protected]
38+
If you didn't receive such email, you can contact us directly: [email protected]
3939

40-
### Can I have renewal discount?
41-
We provide a 25% discount to early renewal. So anyone renewing before the support & upgrade expiration date automatically get a renewal discount.
40+
### Can I have a renewal discount?
41+
We provide a 25% discount to early renewals. So, anyone renewing before the support & upgrade expiration date automatically get a renewal discount.
4242

4343
### I'm too late for early renewal discount! What can I do?
44-
If you are few day late, we still provide early renewal discount.
44+
If you are few days late, we still provide early renewal discounts.
4545

46-
However, if you have few months late, you will need to purchase the library again.
46+
However, if you are a few months late, you will need to purchase the library again.
4747

4848
The best way to find out if you still have access to early renewal discount is by contacting us: [email protected]
4949

5050
### Why should I renew?
5151
Renewing your support & upgrade give the following benefits:
5252

5353
- Major version releases and new product features
54-
- Fast support by mail
54+
- Fast support by email
5555
- Protection against price increases during the maintenance term
5656

5757
## Royalty Free
5858

5959
### Is Eval-SQL.NET Royalty Free?
6060
Yes, the product is royalty free.
6161

62-
This mean, you can develop a project and install it on thousands of clients.
63-
64-
You paid for developer seat within your company.
62+
This means, you can develop a project and install it on thousands of client machines if you paid for developer seat within your company.
6563

6664
Some standard royalty free limitations:
6765

6866
- You can't sell a similar product and claim it's yours.
69-
- If your customer has access to your source code and develops using our API, they will have to purchase a license.
67+
- If your customer have access to your source code and develops using our API, they will have to purchase a license.

docs2/pages/getting-started/licensing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Evaluation Period
44
- You can evaluate the library for several months before purchasing it.
55
- The latest version always contains a trial that expires at the **end of the month**.
6-
- You can extend your trial for several months by downloading the latest version at the start of every month.
6+
- You can extend your trial for several months by downloading the latest version at the beginning of each month.
77

88
## How can I purchase the library?
99
- You can purchase the library [here](/pricing)
@@ -34,7 +34,7 @@ BEGIN
3434
END
3535
```
3636

37-
_We recommend to always re-install the Eval-SQL.NET Script after enabling the license to ensure everything works if the server restart._
37+
_We recommend to always re-install the Eval-SQL.NET Script after enabling the license to ensure everything works if the server restarts._
3838

3939
You can verify if the license is valid with the following command:
4040

docs2/pages/getting-started/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Definition
44

5-
**Eval SQL.NET** is a library that allow to evaluate dynamically C# expression directly in T-SQL. You never used Eval SQL.NET? Don't worry, this step-by-step walkthrough will help you to understand the library.
5+
**Eval SQL.NET** is a library that allows to evaluate dynamically C# expression directly in T-SQL. You never used Eval SQL.NET? Don't worry, this step-by-step walkthrough will help you understand the library.
66

77
Provide to your SQL Server all missing pieces like regular expression and dynamic arithmetic string evaluation.
88

docs2/pages/getting-started/regular-expressions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Use Regex flexibility to overcome "LIKE" and "PATINDEX" limitations. All Regex m
1010
- Replace
1111
- Split
1212

13-
### Find rows with invalid email
13+
### Find rows with invalid emails
1414

1515

1616
```csharp
@@ -33,7 +33,7 @@ WHERE @valid_email.Val('email', Email).EvalBit() = 0
3333
```
3434
{% include component-try-it.html href='http://sqlfiddle.com/#!18/58f2b/1' %}
3535

36-
### Find and insert in a table, all website from a text
36+
### Find and insert in a table, all websites from a text
3737

3838

3939

docs2/pages/getting-started/tutorial-introduction.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Introduction
22

33
## Introduction
4-
Entity Framework Extensions allow you to improve dramatically your save operations performance.
4+
Entity Framework Extensions allows you to improve dramatically your save operations performance.
55

66
It's easy to use, and easy to customize.
77

88
## Bulk SaveChanges
99
The BulkSaveChanges works like SaveChanges but way faster.
1010

11-
BulkSaveChanges use Bulk Operations to save all entities in the Change Tracker efficiently instead of performing a database round-trip for every entity like SaveChanges does.
11+
BulkSaveChanges uses Bulk Operations to save all entities in the Change Tracker efficiently instead of performing a database round-trip for every entity like SaveChanges does.
1212

1313
BulkSaveChanges support everything:
1414

docs2/pages/site/pricing.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -82,38 +82,36 @@
8282
---
8383
## FAQ
8484

85-
### Which payment alternative method are accepted?
85+
### Which payment alternative methods are accepted?
8686
We accept `PayPal`, `Cheque` and `Wire Transfer`.
8787

88-
We **DO NOT** accept bitcoin and credit card.
89-
9088
Please contact us for more information.
9189

9290
Email: <a href="mailto:[email protected]">[email protected]</a>
9391

9492
### Do you accept reseller?
95-
Yes contact us if you are a reseller or seeking for a reseller.
93+
Yes, contact us if you are a reseller or seeking for a reseller.
9694

9795
Email: <a href="mailto:[email protected]">[email protected]</a>
9896

9997
### What `2-4` developer seats mean?
100-
It mean that you can use the license with up 4 developers inside your team.
98+
It means that you can use the license for up 4 developers inside your team.
10199

102-
The `5-9` developer seats mean you can use the license with up 9 developers.
100+
The `5-9` developer seats mean you can use the license for up to 9 developers.
103101

104102
You only pay for developer seats. You can use our library with an unlimited amount of application, environment, server, and client machine.
105103

106104
### I need more than `19 seats`, what can I do?
107-
Please contact us with the number of seats required. We offer some additional great discount or enterprise license.
105+
Please contact us with the number of seats required. We offer some additional great discounts or enterprise license.
108106

109107
Email: <a href="mailto:[email protected]">[email protected]</a>
110108

111109
### Is the license perpetual?
112-
The product comes with a one year of support & upgrade but the license is perpetual (indefinitely use). So you are not forced to renew every year or renew at all.
110+
The product comes with a one year of support & upgrade but the license is perpetual (indefinitely use). So, you are not forced to renew every year or renew at all.
113111

114-
Renewing come with a lot of benefits such as a 25%/35%/50% discount on purchase price, discounted or free product, etc.
112+
Renewing comes with a lot of benefits such as a 25%/35%/50% discount on purchase price, discounted or free product, etc.
115113

116-
### Why this library is not free and open source?
114+
### Why is this library not free and open source?
117115
`ZZZ Projects` mission is focused on adding value to the `.NET Community` and supporting a lot of `free and open source` libraries.
118116

119117
However, this mission cannot be successful without being able to pay our developers for the time they pass to support & develop features for free and paid libraries.
@@ -133,7 +131,7 @@ However, this mission cannot be successful without being able to pay our develop
133131
- [NuGet Must Haves](http://nugetmusthaves.com/){:target="_blank"}
134132
- [Dapper Tutorial](http://dapper-tutorial.net/){:target="_blank"}
135133

136-
By contributing on paid libraries, you are also helping in keeping other libraries and website FREE.
134+
By contributing on paid libraries, you also help keeping other libraries and websites FREE.
137135

138136
</div>
139137
</div>
@@ -189,4 +187,4 @@ function selectProduct() {
189187
}
190188

191189
selectProduct();
192-
</script>
190+
</script>

docs2/pages/troubleshooting/sql-server-eval.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
How to evaluate an arithmetic expression in SQL Server is a common subject. There are several reasons why an "Eval" function like JavaScript could be useful in SQL such as evaluating custom report fields for a trusted user.
66

7-
Multiple partial solutions exists like using "EXEC(Transact-SQL)" which is limited, cannot be used inside SELECT statement and lead to SQL Injection or using an homemade function which, most of time, fail at supporting simple operator priority and parenthesis.
7+
Multiple partial solutions exist like using "EXEC(Transact-SQL)" which is limited, it cannot be used inside SELECT statement and lead to SQL Injection or using an homemade function which, most of time, fail supporting simple operator priorities and parenthesis.
88

99
**SQL Eval.NET** is a complete solution which, not only lets you evaluate dynamic arithmetic expression, but lets you use the full C# language directly in T-SQL stored procedures, functions and triggers.
1010

@@ -119,15 +119,15 @@ EXEC Select_Switch 4, 2, 3
119119

120120
### Problem
121121

122-
You have a complex SQL and you know C# Syntax and C# Object could make this problem very easy.
122+
You have a complex SQL and you know C# Syntax and C# Object could very easily solve this problem.
123123

124124
- Regex
125125
- DirectoryInfo / FileInfo
126126
- String.Format
127127

128128
### Solution
129129

130-
Eval SQL.NET improve readability and maintainability over complex SQL. It supports all [.NET framework class libraries](https://msdn.microsoft.com/en-us/library/gg145045.aspx) (FCL) that are supported by [SQL CLR Framework Libraries](https://docs.microsoft.com/en-us/sql/relational-databases/clr-integration/database-objects/supported-net-framework-libraries).
130+
Eval SQL.NET improves readability and maintainability over complex SQL. It supports all [.NET framework class libraries](https://msdn.microsoft.com/en-us/library/gg145045.aspx) (FCL) that are supported by [SQL CLR Framework Libraries](https://docs.microsoft.com/en-us/sql/relational-databases/clr-integration/database-objects/supported-net-framework-libraries).
131131
132132

133133
```csharp
@@ -148,7 +148,7 @@ FROM @t AS A
148148

149149
## Conclusion
150150

151-
Eval SQL.NET can really be seen in SQL Server as the function "eval()" equivalent of JavaScript. Unlike common solutions limited to very simple math expressions, Eval SQL.NET features go way beyond:
151+
Eval SQL.NET can be seen in SQL Server as the function "eval()" equivalent of JavaScript. Unlike common solutions limited to very simple math expressions, Eval SQL.NET features go way beyond:
152152

153153
- Access to C# Operators
154154
- Access to C# Keywords

docs2/pages/troubleshooting/sql-server-function.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Using this feature is highly **NOT RECOMMENDED**.
215215

216216
## Conclusion
217217

218-
Eval SQL.NET improve the readability and make the code easier to develop and maintain with C# syntax over complex SQL code.
218+
Eval SQL.NET improves the readability and make the code easier to develop and maintain with C# syntax over complex SQL code.
219219

220220
Even if you are now allowed to make some table modifications, we don't recommend using this feature and use a stored procedure instead. Make sure you use the right tool for the right job.
221221

0 commit comments

Comments
 (0)