This entity/Poco was working fine with EF:
[Column(Name="myFieldNameOnDB")]
public string MyPropNameOnClass{ get; set; }
After replacing EF in the entire solution with Linq2DB, it is working where poco class properties are the same as column/field name, but for some classes, there are some properties that are different than a column in name, that was working with specifying a different name in EF with System.ComponentModel.DataAnnotations but I wonder why not working with LinqToDB.Mapping instead of EF and annotation?
I got the below error: System.Data.SqlClient.SqlError: Invalid column name myFieldNameOnDB
Any help?
Update: My class refer to a SQL View