Hi there,
I've got a strange problem with codemith, I'm trying to generate code from a database and when I try, I receive the following error message.
System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null values.
apparentently the generation fails when I try to access the HasPrimaryKey method of a table. I looked into the database and the table has a primary key and also an auto increment set on the column with the primary key.
Now the strange thing is that my collegue also tried to generate code from that same database and he did not get the error message. We are both using the same version of codesmith. I'm using sql server 2005
any ideas
thanks
Joel