in

CodeSmith Community

Your Code. Your Way. Faster!

Browse by Tags

  • My first codesmith project

    I have a lot of tables in my database that i am converting to a codesmith asp.net app. every table has a CreatedBy and ModifiedBy column that link back to a users table however there is no relationship in the database (vb6 app that assumed that the links were there). Is there a best practice for this...
    Posted to General Support (Forum) by not the first codemonkey on 05-09-2007
    Filed under: ForeignKeys, Entities
  • Not able to Bind with EntityGridView and deeploaded data.

    Hi there, Have tried a number of different suggestions from the forums but can't seem to get this relatively simple setup to work. I'm using the generated web admin templates and just modifying them slightly so that i can editing data from two tables at once. In this sample I'm actually using Aspnet_Users...
    Posted to .netTiers - General Support (Forum) by peelay on 04-06-2007
    Filed under: .netTiers, EntityGridView, ForeignKeys
  • TableSchema does not get Foreign Keys

    I am having a problem with getting the Foreign Keys from TableSchema object. I am programmactically creating list of objects that contains DatabaseSchema property and two TableSchemaCollection properties. This list is populated in primary template and then passed to sub-templates to create my code. The...
    Posted to General Support (Forum) by apittman on 02-16-2007
    Filed under: ForeignKeys, TableSchema
  • ForeignKeys collection not always available?

    CodeSmith Version 4.0.4: Why are not all the following varaibles, RESULT1, RESULT2, and RESULT3, equal 1? // ChildTable is a TableSchema Property set to dbo.Address RESULT1 = ChildTable.ForeignKeys.Count; // SourceDatabase is a DatabaseSchema Property set to the same db as ChildTable is above. TableSchema...
    Posted to Bug Reports (Forum) by boaldave on 08-19-2007
    Filed under: ForeignKeys
  • Self-referencing FK insert?

    I have a table where I want to FK to the table's Primary key (so as to create parent/child relationships among the rows). The problem I have is getting the PK value on insert. I do an DataRepository .MyObjectProvider. Insert(TransactionManager, o_myobject) but obviously get an error when the FK value...
    Posted to General Support (Forum) by MeasuredSpace on 09-21-2007
    Filed under: .netTiers, ForeignKeys, primary key
Page 1 of 1 (5 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems