Is there a way to call FakeTable and preserve an identity column on the source table?
Not yet. We are working on a version that will do that. In the mean time, you might want to try adding a default constraint during the test instead. That works for most cases.
Only identity related keywords like "@@IDENTITY" will not be testable with this, however you should avoid those anyway. See my article about this here: Identity Crisis/.
Log in to post a comment.