I have a few tables which are exactly the same (except the table name). The data are different, and due to some specific reason, they cannot be merged into one single table.
Example:
TableA (
Value1 INT NULL,
Value2 INT NULL
)
TableB (
Value1 INT NULL,
Value2 INT NULL
)
.... etc ....
I need to perform same complex calculations / operations to all the tables (which are exactly the same). How can I do that with EF?
In traditional SQL query, we can construct query string by altering the FROM <table name>. But I can't figure how I can do that with EF
Note: EF model-first approach
Thanks in advance