Print Page | Close Window

Skip validation on selected fields

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3742
Printed Date: 22-Jan-2026 at 5:27pm


Topic: Skip validation on selected fields
Posted By: hijaggu
Subject: Skip validation on selected fields
Date Posted: 25-Oct-2012 at 11:09pm
We have few fields on table which we are using to maintain some historical data. Is there a way we can skip validations on those fields when we save the entity OR even better if we can tell IdeaBlade code generated not to generate data annotation/attributes for those fields. 



Replies:
Posted By: sbelini
Date Posted: 26-Oct-2012 at 11:55am
Hi,
 
you can suppress the validation attributes in the Entity Property's properties: (in the edmx file)
 
 
 
sbelini.



Print Page | Close Window