EntityFramework.Functions library implements Entity Framework code first support for stored procedures (with single result type, multiple result types, output parameter), table-valued functions (returning entity type, complex type), scalar-valued functions (composable, non-composable), aggregate functions, built-in functions, niladic functions, and model defined functions.
Cannot use Column mapping in ComplexType Dto's
example:
[ComplexType]
public class PolicyPreviewForListDto
{
[Column("Client_FirstName")]
public string ClientFirstName { get; set; }
}
But still recieve
----> System.Data.SqlClient.SqlException : Invalid column name 'ClientFirstName'.
Configurate in builder dont work aswell
example:
modelBuilder.ComplexType<PolicyPreviewForListDto>().Property(prop => prop.ClientFirstName).HasColumnName("Client_FirstName");
Cannot use Column mapping in ComplexType Dto's example:
But still recieve
----> System.Data.SqlClient.SqlException : Invalid column name 'ClientFirstName'.
Configurate in builder dont work aswell example:
modelBuilder.ComplexType<PolicyPreviewForListDto>().Property(prop => prop.ClientFirstName).HasColumnName("Client_FirstName");
What's wrong there ?