-
I am attempting to rework the AccountController in the MVC4 default template so it uses CSLA rather than SimpleMembership because SimpleMembership didn't meet my requirements. I am replacing the command-based architecture with CSLA business objects. Right now I am working with the UserRegister business...
-
This is a featuire not a bug. In the simple case, the validity of the rule is determined by a single property. For example, a telephone number must have so many numeric digits; any other condition causes the rule to fail. But there are situations where several values must be inspected to establish the...
-
Hi, I am currently developing a Windows Forms project with Csla 3.8.3. Up until this point I have been using BindingSource and building the UI control Bindings using the property grid. (The magic of not having to code!) Of course, in the background, the designer is coding BInding objects for me with...
-
Sorry if I did not point out clearly what I wanted to know. Mentioning the DataAnnotations obviously misled you... My question targets the standard CSLA (built-in) rules like the StringRequired rule. This rule, as any other rule, needs to check the related property value. In the past, it did that by...
-
OK! And what about the built-in csla rules using something like BypassPropertyChecks when accessing property getters? And does CSLA 4 differ from 3.8 regarding that aspect?
-
Hi All, Is there any way to call a validation rule only when saving the object and not whenever the property is set? If so should that validaiton be set on a particular property? Last option I see is to make the validation rule a method and call it before save. Please let me know if there are other ways...
-
how to read the validation message from resource file i have two two project fro business model 1)Model.Client 2)Model.Server so how to add the resource file to server and how to add the link to client side please give me steps so i can read the validation massage from resource file it will should work...
-
i have two two project fro business model 1)Model.Client 2)Model.Server so how to add the resource file to server and how to add the link to client side please give me steps so i can read the validation massage from resource file it will should work client and serverside validation
-
I have a validation rule on a CSLA Business Base stereotyped class. I'm having trouble figuring out how to unit test the validation rule as it includes an asynchronous callback lambda expression. Here's some example code: using System; using System.Collections.Generic; using Csla; using Csla...
-
Hi We are using CSLA version 2.0 on .NET 2.0 VS2005. In my project, I'm using a datagridview, with child data. In the design, we add extra rows to the datagridview on the Fetch. We do this so that the user doesn't have to add additional rows; they are only allowed a certain number. Any ways that...