Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NPoco.PocoExpando' does not contain a definition for 'TableName' #146

Open
markive opened this issue Oct 17, 2022 · 3 comments
Open

'NPoco.PocoExpando' does not contain a definition for 'TableName' #146

markive opened this issue Oct 17, 2022 · 3 comments

Comments

@markive
Copy link

markive commented Oct 17, 2022

Hi @mganss,

I'm trying to test this library, it looks great for my purpose..

I have enabled change tracking in the source database and on 2 tables.

However when I run synchronizer.init() I get the following error:

image

However when I run the sql manually I do get the expected result:

image

Any idea why this is happening? I tried to run the previous version of the library and it also failed. I'm running .Net Core 6.0 console app.

@mganss
Copy link
Owner

mganss commented Oct 17, 2022

Strange. Can you set a breakpoint inside the GroupBy to see what the contents of the dynamic object look like?

@markive
Copy link
Author

markive commented Oct 17, 2022

image

Yeah it seems close, but it can't project the Select to a TableInfo but the GroupBy does work.

@mganss
Copy link
Owner

mganss commented Oct 17, 2022

What happens if you step further? Which properties do the dynamic objects have?
You can set breakpoints inside lambdas by placing the cursor in the lambda function, right click and select insert breakpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants