in

CodeSmith Community

Your Code. Your Way. Faster!

Browse by Tags

  • Re: Problem with ntext

    This is the problem: In the latest version of TemplateLib/CommonSqlCode.cs we have: /// <summary> /// Determines whether base DataObjectBase is a string type, and not a blob column of text or ntext /// </summary> public bool CanCheckLength(SchemaExplorer.DataObjectBase column) { switch (column...
    Posted to .netTiers - Bug Reports (Forum) by altin on 04-12-2007
    Filed under: Validation Rules, ntext
  • Other validation bug in MaxWord Rule?

    Hi! There is a line of code in method MaxWords (file: CommonRules.cs) that looks odd to me: e.Description = string.Format("{0} exceed the maximum number of words", e.PropertyName, text1); Is it normal to have 3 arguments for this Format method, since there is only one {x} in the first argument? By the...
    Posted to .netTiers - Bug Reports (Forum) by velum on 11-20-2006
    Filed under: Validation Rules
  • Is this a bug? No NotNull Validtation Rule generated for FK

    Hi! I noticed something that may be a bug. In my database I have a table containing an FK defined as an Int and "Not Null". When I look at the AddValidationRules() method in the base class of the object generated for that table, I don't find any Not Null rule for the FK like the following: ValidationRules...
    Posted to .netTiers - Bug Reports (Forum) by velum on 11-20-2006
    Filed under: foreign key field, Validation Rules
Page 1 of 1 (3 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems