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

Forum has moved

New location: CSLA .NET forum

CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • Browse Forum Posts by Tags

    Showing related tags and posts for the CSLA .NET discussion forum. See all tags in the site
    • Customize Authorization Rules Messages.

      Hello all. I'm using Authorization Rules in my Business Objects but when any Authorization Rule is broken the message provided on the exception do not fits my needs. I was reviewing the implementation of the DataPortal class and CSLA throws a Security Exception and loads the exception message from...
      Posted to CSLA .NET discussion (Forum) by omarcusido on Fri, Oct 14 2011
    • Re: DataPortal_Insert Cancel

      Well you wouldn't throw a DataPortalException; create your own exception like NoMoreKeysException. Although the handler you have should be working, although there is Csla.DataPortalException and Csla.Server.DataPortalException. Perhaps you're throwing the one in the server namespace (b/c you...
      Posted to CSLA .NET discussion (Forum) by Andy on Wed, Mar 10 2010
    • Re: DataPortal_Insert Cancel

      Well, throwing an exception is probably your best bet. If you don't want the UI to handle a DataPortalException, and instead handle your specific exception, you can override your Save method and throw the BusinessException from the DataPortalException.
      Posted to CSLA .NET discussion (Forum) by Andy on Wed, Mar 10 2010
    • DataPortal_Insert Cancel

      in DataPortal_Insert I use a stored procedure to get the next free key to assign to my BusinessObject when beeing inserted into the database. As the key generation saves the used key to the database, I would prefer not to get the key prior to DataPortal_Insert. What would be the best way to communicate...
      Posted to CSLA .NET discussion (Forum) by Imker on Wed, Mar 10 2010
    Page 1 of 1 (4 items)

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