tomasfabian / Joker

Reactive data changes from SQL server to .NET clients. SqlTableDependency extensions, Joker.OData, Joker.Redis, Joker.MVVM and ksqlDB LINQ provider
MIT License
69 stars 23 forks source link

Read the DB-Attributes out of the TableAttribute #7

Closed tzepterbvv closed 4 years ago

tzepterbvv commented 4 years ago

Hi Tomas,

I use Extensions 2.3 and it works fine if I override the attribute TableName within the SqlTableDependencyProvider<> derivate with the real table name respectively the settings.SchemaName with the real schema name, because my Entity-class is named different to the table name because of different convention (camel case vs. big case, English vs. German).

I used before the original SqlTableDependency. There it was possibe to define the table and schema and column namnes as attributes in the entity class. This brings all definition at one location together. Could you implement it for the Extensions, too?

Thx, Tobi

tomasfabian commented 4 years ago

Hi Tobi, I added support for TableAttribute in version 2.3.1.

Regards Tomas

tzepterbvv commented 4 years ago

Thank you, Tomas. Works great!