-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
I have such mapping:
DapperPlusManager.Entity<TestEntity>()
.Key(x => x.Id, "ID")
.Map(x => x.Name, "TestName")
.Output(x => x.Id)
.Table(TableName);
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?
Metadata
Metadata
Assignees
Labels
No labels