CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Search

  • Re: ArgumentNullException in CommonRules.RegExMatch()

    Given the three options, I would argue for #2 by the process of elimination. #1 is out because, as I originally posted at the start of the thread, passing in a null value to RegEx.IsMatch() will throw an exception. Therefore, if you can't definitively say, "Yes, this value matches the regular expression," then you should never return true. #3 should
    Posted to CSLA .NET discussion (Forum) by cstaley on Thu, Mar 8 2007
  • ArgumentNullException in CommonRules.RegExMatch()

    I've modified the CSLA.Contib templates to generate nullable value types on columns that allow nulls. As a result, I'm running into problems with the RegExMatch() method in the Csla.Validation.CommonRules class when new CSLA objects are created. The problem is that a null value is being validated, and the RegEx.IsMatch() method doesn't like null values
    Posted to CSLA .NET discussion (Forum) by cstaley on Mon, Jan 22 2007
Page 1 of 1 (2 items) | More Search Options

Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems