NAnt2 / NDbUnit2

A revived .NET library for managing database state during unit testing, with roots in NDbUnit project
Apache License 2.0
1 stars 0 forks source link

Cannot Insert Data to a table with computed columns. #14

Open savornicesei opened 6 years ago

savornicesei commented 6 years ago

Issue by sbohlen Monday Dec 22, 2014 at 20:49 GMT Originally opened as https://github.com/NDbUnit/NDbUnit/issues/53


This issue ported from the deprecated GoogleCode NDbUnit site (https://code.google.com/p/ndbunit).

See https://code.google.com/p/ndbunit/issues/detail?id=53 for more history and details for this specific issue.

savornicesei commented 6 years ago

Comment by zacharybblack Wednesday Oct 18, 2017 at 17:57 GMT


A work around for this issue is to remove the computed columns from the xsd file. You can do this by right clicking the table in the xsd and then click configure. You will see a text box titled "What data should be loaded into the the table?" that contains a select statement. Remove the computed columns from the select statement and click the Finish button.