dbelmont / ExpressionBuilder

A library that provides a simple way to create lambda expressions to filter lists and database queries.
Apache License 2.0
372 stars 105 forks source link

Updated FilerBuilder.cs, modified exctraction of propertyName from st… #41

Closed snill93 closed 5 years ago

snill93 commented 5 years ago

…atement

Before this fix, the propertyName param was extracted from statement replacing basePropertyName with empty string, this caused problems if the propertyName contained substring like basePropertyName; (ex. Contacts[ContactsNumber] ). Fixed

snill93 commented 5 years ago

Good catch, mate 👍. Thanks for your contribution.

Thanks, and thank for your great job!