FakeTable and Identity column

  • BDE

    BDE - 2012-01-18

    Is there a way to call FakeTable and preserve an identity column on the source table? 


  • Sebastian Meine

    Sebastian Meine - 2012-01-18

    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.