FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add LinqToVisualBasicSyntaxTranslator by lorcQc · Pull Request #97 · efcore/EFCore.VisualBasic · GitHub

Add LinqToVisualBasicSyntaxTranslator - #97

Merged
lorcQc merged 1 commit into
efcore:masterfrom
lorcQc:LinqToVB
Jan 27, 2024
Merged

Add LinqToVisualBasicSyntaxTranslator#97
lorcQc merged 1 commit into
efcore:masterfrom
lorcQc:LinqToVB

Conversation

lorcQc commented Jan 15, 2024

Copy link
Copy Markdown
Collaborator

Adds a service for generating VB code from LINQ expression trees.
For v8, it will be used to translate Expression(Of T) for compiled model generation.

To do this, I started with the C# implementation and then modified it for VB.

It's difficult, if not impossible, to translate all the features of LINQ expressions. Here are some of the limitations of this first version
Checked and unchecked unary/binary expressions are treated in the same way.
PostIncrementAssign, PostDecrementAssign, PreIncrementAssign and PreDecrementAssign throw a NotSupportedException.
Only SwitchExpressions without Comparison MethodInfo are supported.

lorcQc merged commit 012d76a into efcore:master Jan 27, 2024
lorcQc deleted the LinqToVB branch January 28, 2024 02:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL