vbilopav / noorm.net Goto Github PK
View Code? Open in Web Editor NEWFast, modern and extendible C# Data Access library
License: MIT License
Fast, modern and extendible C# Data Access library
License: MIT License
the sample app used to work with .SelectAwait. After upgrading the .net core to 3.1, SelectAwait is no longer resolved, and using system.linq is grayed out meaning it's not used.
Any idea?
Why something like this always return 0 for the cnt?
public IAsyncEnumerable<AreaSummary> GetAreaAsync() =>
_connection.ReadAsync(@"
select Description, count(*) as cnt
From A
inner join lookup L2
on A.areaID= L2.ID
Group by L2.Description
order by L2.Description")
.Select<AreaSummary>()
.SelectAwait(async u =>
{
await Task.Delay(1);
return u;
});
and
public class AreaSummary
{
public string Description { get; set; }
public int sum { get; set; }
}
Thanks
Your norm.net looks great and is working well for query.
Is Insert/update data supported as well, if yes, can you provide an example
Thanks.
Hello sir,
I don't see how to use transaction with execute command?
Can you help me ?
I think it is better to have a transaction with multi execute command;
Norm will postpone any reads from database until they are needed - allowing you to build expression trees and transformations - before it started fetching any data.<<
Can u provide an example of how to do Linq expression. Using Blazor, a user can filter what records to get dynamically. The Where is not known until runtime. The user may select what fields to get back if that is possible with Norm.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.