Browse by Tags - CodeSmith Community
Welcome to the CodeSmith Community!

Browse by Tags

Related Posts
  • Forum Post: What is the best way to validate an entity to make sure it is not violating a unique key constraint

    Hi! I have always been wondering what was the best method to validate an entity containing a property having a unique key constraint. For example, I could have a proporty called Title in my entity, and the corresponding field in the database would have a unique key constraint. Let's say that in my...
  • Blog Post: MVC 2 Client Side Model Validation with ExtJS

    One of the most exciting new features in MVC 2 is "Enhanced Model Validation support across both server and client". The new enhanced support allows for client side validation to be dynamically generated into a view quickly and easily using DataAnnotations attributes on models. This means that...
  • Forum Post: How to cancel a new child added inside a BO

    Hi I have the following BO: public class FixedAssetChild : Csla. BusinessBase < FixedAssetChild > This class has the following properties: private static PropertyInfo < FixedAssetSupplyChildList > SupplyListProperty = RegisterProperty< FixedAssetSupplyChildList >( typeof ( FixedAssetChild...
  • Forum Post: Validate property if it's not empty

    Hi friends!! Let's me explain a little. Say I have an object Customer, this object has some fields as Id, Name, Address, City, State, Country, Zip Code, etc. Now, on the database table (named Customer) the fields Id and Name are set to "NOT NULL" and the others fields accept null values...
  • Forum Post: Re: Processor - Validation Rule Dilemma

    Hi All! I have noticed that my entities are being validated three times instead of one when they are being saved. This is unnecessary and it is slowing down my application when a processor is accessing the database to perform validation. Have you ever noticed this. I am giving more details about this...
  • Forum Post: Re: Question about Validation Rules

    Hi Mike and All! I have been using the method suggested by Mike to add validation to entities in my project for quite some time, and it has been working fine. However, I noticed at some point that when an entity is being saved (inserted or updated), it is getting validated multiple times. It is only...
  • Forum Post: How can I use DataValidation

    I want to validate data of my object how can I do it using NetTiers 2.3 Template
  • Forum Post: String Validation for Nettiers(maybe more regex related)

    Probably a silly question that I am missing the point. I have used the basic validation in nettiers quite extensively before and even made use of the regexismatch. This may actually be more of a regex question cause my regex is pretty weak. I have a default string in a text box that is basically an instruction...
Page 1 of 5 (100 items) 12345