RepoDB
RepoDB copied to clipboard
A hybrid ORM library for .NET.
### Bug Description RepoDB 1.12.9 with RepoDb.SqlServer 1.1.4 will throw MissingFieldsException if a sort column doesn't exist. RepoDB 1.12.10 with RepoDb.SqlServer 1.1.5 will pass the invalid sort column to the...
### Describe the enhancement To simplify the calls to the [IStatementBuilder](https://github.com/mikependon/RepoDB/blob/master/RepoDb.Core/RepoDb/Interfaces/IStatementBuilder.cs) methods without requiring the caller to explicitly instantiate the [QueryBuilder](https://github.com/mikependon/RepoDB/blob/master/RepoDb.Core/RepoDb/QueryBuilder.cs) class, we therefore proposing to remove this argument in...
### Describe the enhancement I would like to have better control over query parameters passed to execute against RAW SQL: ```csharp var parameter = new Parameter("@Id", "10045", DBType.AnsiString, false); var...
### Describe the enhancement Allow only updating changed records during BulkMerge. This will eliminate unneeded writes to the table and preserve any modified date column. This maintains the efficiency of...
Hi, First of all, thanks a lot for the tremendous work done on this project. I made all my developments in an asp.net core project, using RepoDb ORM to connect...
### Bug Description Calling QueryAsync is interfering with PK in an unexpected and unwanted way. **Exception Message:** ```csharp System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->...
**IAsyncEnumerable suggestion** Hi, IAsyncEnumerable added with .Net Standard 2.1. So we can enumerate with await foreach on async operations. It is provides simplicity. ``` await foreach(var result in dbConnection.QueryAsSinglyAsync(whereQuery, ...))...
Hello. I am using it so well. Is there any way to use cache for ExecuteQueryMultiple ? ~~~ var cache = CacheFactory.GetMemoryCache(); using (var connection = new SqlConnection(connectionString)) { var...
### Bug Description I wrote a PropertyHandler to convert TimeSpan-(Ticks) to (db-)bigint. On InsertAsync() PropertyHandlers works fine. On BulkInsertAsync() PropertyHandlers aren't used. ```csharp FluentMapper.Entity().PropertyHandler(p => p.Duration); ``` Example: RepoDb v1.12.9...
The [`DbRepository` class'](https://github.com/mikependon/RepoDB/blob/master/RepoDb/RepoDb/Operations/DbRepository/Truncate.cs) `Truncate` methods do not handle the transaction argument correctly. A `connection` instance gets created even if `transaction` is not null, which leads to runtime issues. ``` public...