EntityFramework-Plus icon indicating copy to clipboard operation
EntityFramework-Plus copied to clipboard

Batch Operations using PostGres fail when a TableName contains full stop

Open bambos-xiouros opened this issue 7 years ago • 2 comments

2 tables in the same schema

MySchema.A MySchema.A.B

When writing to MySchema.A.B the bulk operations actually tries to write to MySchema.A and reports property does not exist.

Replacing the '.' with '_' in the table names solves the problem

MySchema.A MySchema.A_B

Not a big deal for me as I can just rename the tables. So just letting you know.

bambos-xiouros avatar Sep 25 '18 00:09 bambos-xiouros

Hello @bambos-xiouros ,

Thank for letting us known.

We will eventually fix it but I don't think that will happen in a short-term plan since this issue only happen in a situation that is HIGHLY not recommended to do (using . in table name)

The cause is very simple, we probably do a split on the '.' character and assume the table name doesn't have one which is not your case.

Best Regards,

Jonathan

Best Regards,

Jonathan

JonathanMagnan avatar Sep 25 '18 02:09 JonathanMagnan

Yeah that's cool. Just one for the (very) low priority list.

On Tue, 25 Sep 2018, 12:13 Jonathan Magnan, [email protected] wrote:

Hello @bambos-xiouros https://github.com/bambos-xiouros ,

Thank for letting us known.

We will eventually fix it but I don't think that will happen in a short-term plan since this issue only happen in a situation that is HIGHLY not recommended to do (using . in table name)

The cause is very simple, we probably do a split on the '.' character and assume the table name doesn't have one which is not your case.

Best Regards,

Jonathan

Best Regards,

Jonathan

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zzzprojects/EntityFramework-Plus/issues/412#issuecomment-424184270, or mute the thread https://github.com/notifications/unsubscribe-auth/AM9xkhu5bWixi6gOwX-CUbBKcPNtFS_gks5ueZFYgaJpZM4W3rbX .

bambos-xiouros avatar Sep 25 '18 02:09 bambos-xiouros