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

Small update to allow for batch insert/update operations on entities with computed properties #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlikens
Copy link

@jlikens jlikens commented Feb 1, 2016

  • Added IsComputed to PropertyMapping
  • Set PropertyMapping.IsComputed for scalar properties based on prop.Column.IsStoreGenerated
  • Changed InsertAll and UpdateAll to skip computed columns

Was unable to add proper tests as there does not appear to be a database creation script in the solution and I didn't feel like reverse engineering one

+ Set PropertyMapping.IsComputed for scalar properties based on prop.Column.IsStoreGenerated
+ Changed InsertAll and UpdateAll to skip computed columns
> Was unable to add proper tests as there does not appear to be a database creation script in the solution and I didn't feel like reverse engineering one
@oryol
Copy link

oryol commented Jul 15, 2016

Can it be fixed without manual patching and rebuilding library? NuGet package doesn't work well with computed columns

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

Successfully merging this pull request may close these issues.

2 participants