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

Provides a "Ignore" attribute to ignore properties when mapping the POCO class to the entity #49

Merged

Conversation

vpellichero
Copy link
Contributor

Allows to ignore some properties marked by a specific attribute when mapping the POCO class to the query paremeters
Adds Guid to the list of "primitive" types

…OCO to the entity.

Adds Guid to the list of "primitive" types
@dvoituron
Copy link
Contributor

That's a very good idea. Thanks.

Before merging this PR, I've just added a HowToTest.md file and a _StartCodeCoverage.cmd script. Could you add some unit tests to validate these two new features?

@vpellichero
Copy link
Contributor Author

Done. Two unit tests added to check the correct behavior of the IgnoreAttribute:

  • Do not add DB parameters for ignored colums,
  • Do not change the value of an ignored property when reading data from the DB.

@dvoituron dvoituron merged commit d894f21 into Apps72:master Jan 22, 2024
3 checks passed
@vpellichero vpellichero deleted the feature/provide_a_mapping_Ignore_attribute branch January 23, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants