in

CodeSmith Community

Your Code. Your Way. Faster!

Browse by Tags

  • 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 General Support (Forum) by Joel Rewers on 05-31-2007
    Filed under: SchemaExplorer, Visual Studio, SchemaProvider, primary key, Entities, generating templates
  • Differentiate between Varchar and Text

    Does anyone know of a way to differentiate between a VarChar column and a Text column? The only way to determine column type seems to be comparing [columnObject].SystemType with TypeOf(System.[TypeName]), like this... if (column.SystemType == TypeOf(System.String)) { // Do something here } This finds...
    Posted to General Support (Forum) by eric_burcham on 05-01-2007
    Filed under: SchemaExplorer, .netTiers, Codesmith templates cached cleanup, generating templates, need advice
  • Unexpected SchemaExplorer type 'MemberColumnSchema' encountered. Extended properties are not yet supported for this type.

    Unexpected SchemaExplorer type 'MemberColumnSchema' encountered. Extended properties are not yet supported for this type. An error of type "NotSupportedException" occured while attempting to execute this template. To enable Just-In-Time debugging on this template set the "Debug" attribute to "True" in...
    Posted to Bug Reports (Forum) by timafyozzi on 03-27-2007
    Filed under: SchemaExplorer, oracle, MemberColumnSchema, bug, extended properties
  • Trouble with TablePicker - no tables!

    <%@ Property Name="SourceTable" Type="SchemaExplorer.TableSchema" Category="Context" Description="Table that the object is based on." %> Magically, this morning I no longer get a list of tables when I select my SQL Server 2005 Database. I have been burning...
    Posted to General Support (Forum) by Terrence on 10-08-2006
    Filed under: SchemaExplorer, TablePicker, TableSchema
  • Problems with OracleNativeSchemaProvider

    Hi everybody, I've installed NetTiers 2.2.0 and CodeSmith Professional 4.0 and actually I'm on my way to use them with Oracle CLient 10g through the OracleNativeSchemaProvider, but I've a few problems: If I try to use any version of this provider, I get the error from 'MemberColumnSchema'...
    Posted to Bug Reports (Forum) by obsolete on 08-07-2007
    Filed under: SchemaExplorer, oracle, MemberColumnSchema, bug
  • PrimaryKeys Collection Empty with OracleSchemaProvider

    I want to generate bussines clasess implementing navegability. My database is Oracke 10g, and I´m using the OracleNativeSchemaProvider. But when I want to iterate though the PrimaryKeys Collection of the table, this collection is always empty. However, I test the same code with SQL Server 2005 and the...
    Posted to Bug Reports (Forum) by vgutierrch on 09-05-2007
    Filed under: SchemaExplorer, oracle, PrimaryKeys, OracleNativeSchemaProvider
  • Error accessing table schema with SchemaExplorer on Sybase SQL Anywhere

    With the latest CodeSmith 4.1.3 Professional version bought last week I tried to use the SchemaExlorer on a Sysbase SQL Anywhere database, both Sybase version 9 on a Windows 2003 system, and a Sybase version 10 on a Vista 64bit platform with the following template: <%@ CodeTemplate Language="C#"...
    Posted to Community Support (Forum) by HighTechTrader on 04-15-2008
    Filed under: SchemaExplorer, Sybase
  • IsIdentityColumn() for CommandResultSchema

    Is there a way to tell whether or not a CommandResultSchema represents an identity column? Thanks in advance.
    Posted to General Support (Forum) by rferrill on 01-02-2008
    Filed under: SchemaExplorer, .netTiers
Page 1 of 1 (8 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems