CodeSmith Community
Your Code. Your Way. Faster!

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • HasPrimaryKey: System.Data.SqlTypes.SqlNullValueException

    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...
    Posted to Community Support (Forum) by Joel Rewers on 05-31-2007
    Filed under: SchemaExplorer, Visual Studio, SchemaProvider, primary key, Entities, generating templates
  • Properly returning TableKeySchema[] for GetTableKeys()

    In creating my custom schema provider I used the MySQL provider as a model and saw how that separates immediate file handling (GetMyTableKeys) from related files (GetOtherTableKeys). I'm sure I'm not building the other table keys properly. Can someone confirm if I'm doing this correctly?...
    Posted to General (Forum) by CaptainStarbuck on 11-17-2008
    Filed under: ForeignKeys, SchemaProvider, primary key, GetTableKeys, TableKeySchema
Page 1 of 1 (2 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems