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

How Can I .Deserialize Expression<Func<T, dynamic>> #37

Closed
yangmail2002 opened this issue Dec 3, 2014 · 2 comments
Closed

How Can I .Deserialize Expression<Func<T, dynamic>> #37

yangmail2002 opened this issue Dec 3, 2014 · 2 comments

Comments

@yangmail2002
Copy link

I have a Expression :
Expression<Func<T, dynamic>> exp=s => new { s.Name, s.ProductCategoryID }
serialize it to string . But When I deserialize this string ,it retun null with error " 序列不包含任何匹配元素"
The seialize string is QA5FeHByZXNzaW9uTm9kZS4EdHlwZZgUTGFtYmRhRXhwcmVzc2lvbk5vZGUIPGh0dHA6Ly9zY2hlbWFzLmRhdGFjb250cmFjdC5vcmcvMjAwNC8wNy9TZXJpYWxpemUuTGlucS5Ob2RlcwkBaSlodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZUAITm9kZVR5cGWZBkxhbWJkYUAEVHlwZUAQR2VuZXJpY0FyZ3VtZW50c0AIVHlwZU5vZGVABE5hbWWZHUNsYXNzTGlicmFyeTEuUHJvZHVjdENhdGVnb3J5AUAIVHlwZU5vZGVABE5hbWWZDVN5c3RlbS5PYmplY3QBAUAETmFtZZkNU3lzdGVtLkZ1bmNgMgFABEJvZHkuBHR5cGWYEU5ld0V4cHJlc3Npb25Ob2RlQAhOb2RlVHlwZZkDTmV3QARUeXBlQBBHZW5lcmljQXJndW1lbnRzQAhUeXBlTm9kZUAETmFtZZkNU3lzdGVtLlN0cmluZwFACFR5cGVOb2RlQAROYW1lmQxTeXN0ZW0uSW50MzIBAUAETmFtZZkVPD5mX19Bbm9ueW1vdXNUeXBlMGAyAUAJQXJndW1lbnRzQA5FeHByZXNzaW9uTm9kZS4EdHlwZZgUTWVtYmVyRXhwcmVzc2lvbk5vZGVACE5vZGVUeXBlmQx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RvcihTeXN0ZW0uU3RyaW5nLCBJbnQzMikBQAdNZW1iZXJzQA5NZW1iZXJJbmZvTm9kZUANRGVjbGFyaW5nVHlwZUAQR2VuZXJpY0FyZ3VtZW50c0AIVHlwZU5vZGVABE5hbWWZDVN5c3RlbS5TdHJpbmcBQAhUeXBlTm9kZUAETmFtZZkMU3lzdGVtLkludDMyAQFABE5hbWWZFTw+Zl9fQW5vbnltb3VzVHlwZTBgMgFACk1lbWJlclR5cGWZCFByb3BlcnR5QAlTaWduYXR1cmWZElN5c3RlbS5TdHJpbmcgTmFtZQFADk1lbWJlckluZm9Ob2RlQA1EZWNsYXJpbmdUeXBlQBBHZW5lcmljQXJndW1lbnRzQAhUeXBlTm9kZUAETmFtZZkNU3lzdGVtLlN0cmluZwFACFR5cGVOb2RlQAROYW1lmQxTeXN0ZW0uSW50MzIBAUAETmFtZZkVPD5mX19Bbm9ueW1vdXNUeXBlMGAyAUAKTWVtYmVyVHlwZZkIUHJvcGVydHlACVNpZ25hdHVyZZkXSW50MzIgUHJvZHVjdENhdGVnb3J5SUQBAQFAClBhcmFtZXRlcnNADkV4cHJlc3Npb25Ob2RlLgR0eXBlmBdQYXJhbWV0ZXJFeHByZXNzaW9uTm9kZUAITm9kZVR5cGWZCVBhcmFtZXRlckAEVHlwZUAETmFtZZkdQ2xhc3NMaWJyYXJ5MS5Qcm9kdWN0Q2F0ZWdvcnkBQAROYW1lmQFzAQEB

@esskar
Copy link
Owner

esskar commented Dec 3, 2014

i will check this

esskar pushed a commit that referenced this issue Dec 5, 2014
@esskar
Copy link
Owner

esskar commented Dec 5, 2014

i do not see any problems with serializing dynamic problems

@esskar esskar closed this as completed Dec 5, 2014
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