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

Support name mapping between ColumnName and Property #17

Open
scale-tone opened this issue May 11, 2015 · 0 comments
Open

Support name mapping between ColumnName and Property #17

scale-tone opened this issue May 11, 2015 · 0 comments

Comments

@scale-tone
Copy link
Owner

I store objects in DynamoDb table. However, the table's column names don't match with the object's property names. The object's property name is quite long so I use shorter column name to minimize the number of transferred bytes.
When I do

var inceptionMovie = moviesTable
.Where(m => m.Genre == "Thriller" && m.Title == "Inception")
.Single();

I don't see how Linq2DynamoDb handles the name mismatch. I am fairly new to Linq2DynamoDb. If there exists a way, please let me know. Thanks.

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

No branches or pull requests

1 participant