You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs2/pages/documentations/eval-expressions/eval-execute.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ You can specify parameter value to use in the expression from various way:
14
14
- Class Member
15
15
- Dictionary
16
16
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.
18
18
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.
20
20
21
21
## Execute and return a strongly typed result
22
22
You can return the result as a strongly typed type:
Copy file name to clipboardExpand all lines: docs2/pages/faq/faq-eval-sql-net.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Bug Fixing
4
4
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.
6
6
7
7
## Namespace
8
8
@@ -26,17 +26,17 @@ All namespace support by SQL CLR are supported by Eval SQL.NET.
26
26
- System.Xml
27
27
- System.Core.dll
28
28
- 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.
30
30
31
31
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)
32
32
33
-
Let us know if you believe we have missing some.
33
+
Let us know if you believe we missed some.
34
34
35
35
## Performance
36
36
37
37
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!
38
38
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.
Copy file name to clipboardExpand all lines: docs2/pages/getting-started/overview.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Definition
4
4
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.
6
6
7
7
Provide to your SQL Server all missing pieces like regular expression and dynamic arithmetic string evaluation.
Copy file name to clipboardExpand all lines: docs2/pages/getting-started/tutorial-introduction.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# Introduction
2
2
3
3
## 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.
5
5
6
6
It's easy to use, and easy to customize.
7
7
8
8
## Bulk SaveChanges
9
9
The BulkSaveChanges works like SaveChanges but way faster.
10
10
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.
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.
113
111
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.
115
113
116
-
### Why this library is not free and open source?
114
+
### Why is this library not free and open source?
117
115
`ZZZ Projects` mission is focused on adding value to the `.NET Community` and supporting a lot of `free and open source` libraries.
118
116
119
117
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
133
131
-[NuGet Must Haves](http://nugetmusthaves.com/){:target="_blank"}
Copy file name to clipboardExpand all lines: docs2/pages/troubleshooting/sql-server-eval.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
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.
6
6
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.
8
8
9
9
**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.
EvalSQL.NETimprovereadabilityandmaintainabilityovercomplexSQL. Itsupportsall [.NETframeworkclasslibraries](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
+
EvalSQL.NETimprovesreadabilityandmaintainabilityovercomplexSQL. Itsupportsall [.NETframeworkclasslibraries](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).
Evenifyouarenowallowedtomakesometablemodifications, wedon't recommend using this feature and use a stored procedure instead. Make sure you use the right tool for the right job.
0 commit comments