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
When I save data with BulkInsert it works, but when I query data the "Name" property is empty.
public class TestEntity
{
public int Id { get; set; }
public string Name { get; set; }
}
using (var connection = SessionFactory.OpenConnection())
{
return connection.Query<T>("select * from TestEntity").ToList();
}
Is there a way to get this to work correctly?
The text was updated successfully, but these errors were encountered:
The mapping currently only works for method coming from Dapper Plus such as BulkInsert, BulkUpdate, BulkDelete, BulkMerge.
Query method is from Dapper itself so we do not have any control over it.
However, we will look if there is something we can do here this week such as providing additional helper/method if the Query is coming from the DapperPlusContext.
This is eventually something we will want to do in the future.
Unfortunately, we choose to pause temporarily this request as we need to complete the code re-write of our primary library for EF Core 5 which is coming.
We will let this issue open since as we said, that's definitely something we will want to add to our library
I have such mapping:
When I save data with BulkInsert it works, but when I query data the "Name" property is empty.
Is there a way to get this to work correctly?
The text was updated successfully, but these errors were encountered: