EntityFramework-Reverse-POCO-Code-First-Generator
EntityFramework-Reverse-POCO-Code-First-Generator copied to clipboard
Issue with Fields with white spaces at end
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!