EntityFramework-Reverse-POCO-Code-First-Generator icon indicating copy to clipboard operation
EntityFramework-Reverse-POCO-Code-First-Generator copied to clipboard

Issue with Fields with white spaces at end

Open davideciarmiello opened this issue 5 years ago • 0 comments

Hi. I'm mapping a existing table that i can't edit. The problem is that a field have a white space at end: "SELECT ... [MS Entity ] FROM ..." In the configuration is mapped with a trim, and is wrong: Property(x => x.MS_Entity).HasColumnName(@"MS Entity") The problem is in the ReadTables function, rdr["SchemaName"].ToString(), rdr["TableName"].ToString(), and rdr["ColumnName"].ToString() are trimmed, why? :) Thanks!

davideciarmiello avatar Feb 17 '20 13:02 davideciarmiello