help me , migrate from bltoolkit to linq2db
See original GitHub issuehi
my project worked by bltoolkit like
[SqlQuery(@"UPDATE Tbl.Art SET LikeScore=ISNULL(LikeScore,0)+1 WHERE ArticleId=@ArticleId")] public abstract void ArticleLike(int articleId);
I don’t know in linq2db how ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Migrating from old Merge API
Migrating from old Merge API. This page contains information how to replace old Merge API calls with new API calls. Breaking changes.
Read more >BL Toolkit Alternatives - ORM - Awesome .NET - LibHunt
And certainly we would be happy to merge your pull requests. Please, consider migrating to linq2db. Do not miss the trending, packages, news...
Read more >Automating query mapping with multiple joins via Linq2Db
I've been able to recreate most of the automations I did for BLToolkit, but I'm struggling to create a standard structure to query...
Read more >Highest scored 'linq2db' questions - Page 2
I want to migrate a database from Firebird to MSSQL using linq2db in C#. I thought I could load the structure using T4...
Read more >linq2db
Using database transactions is easy. All you have to do is call BeginTransaction() on your DataConnection , run one or more queries, and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
you can use FromSql
@MajidSafari, this is repository pattern. You can find a tons of realizations in github even for linq2db. I personally don’t like this pattern. Do you have any reason to use Raw SQL? Linq2db created for simplifying SQL generation and it is a strongest part of the library.