CodeSmith Community
Your Code. Your Way. Faster!

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • YAVQ (Yet another validation question)

    We are having two pretty specific problems with validation rules that hopefully someone can provide quick advice on. I browsed several of the other validation topics, but didn't see an answer (or what I thought was an answer). The first problem has to do with DateTimes. When I use a snippet like this...
    Posted to .netTiers - General Support (Forum) by markstafford on 10-31-2006
    Filed under: .netTiers, DateTime, Rules, Validation
  • Re: validation rules across entities

    Well, you can control in which situations this rule is a valid rule that needs to be checked. Typically, you should validate only when Inserting or Updating, so in those situations you might create a method that either accepts a List<ValidationRuleHandler> list that you can pass in any number of...
    Posted to .netTiers - General Support (Forum) by Robert Hinojosa on 10-10-2006
    Filed under: Rules, Validation
  • Re: validation rules across entities

    There are currently a few ways you can do this. The most instinctual way would be to create a validation rule in the Product entity that checks against' it's product types. But are the product Attributes just an entity with Key Value pairs? It sounds like it since your are saying it could or...
    Posted to .netTiers - General Support (Forum) by Robert Hinojosa on 10-09-2006
    Filed under: Rules, Validation
  • Can Save an entity when IsValid = false?

    Hi, a newbie here, but somewhat familiar with CSLA. I seem to be able to Save an entity even though there are BrokenRules, and IsValid is false. Is that how it's supposed to work? Very nice templates, BTW. Compiled first time. Dave
    Posted to .netTiers - General Support (Forum) by davem1958@gmail.com on 10-31-2006
    Filed under: BrokenRules, Rules, Validation
Page 1 of 1 (4 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems