CSLA .NET

From Rockford Lhotka's Expert C# 2005 and VB 2005 Business Objects books

Welcome to CSLA .NET Sign in | Join | Help
in Search

Difference b/w Instance and normal versions of Athorization and Business rules

Last post 05-20-2008, 9:06 AM by RockfordLhotka. 1 replies.
Sort Posts: Previous Next
  •  05-20-2008, 3:39 AM 23683

    Difference b/w Instance and normal versions of Athorization and Business rules

    Can anybody provide some example to show the difference between "AddAuthorizationRules" and "AddInstanceAuthorizationRules" as well as "AddBusinessRules" and "AddInstanceBusinessRules"?
  •  05-20-2008, 9:06 AM 23695 in reply to 23683

    Re: Difference b/w Instance and normal versions of Athorization and Business rules

    You should try to avoid using the Instance options. This is discussed in the CSLA .NET Version 2.1 Handbook, and you can see the implementation and use of both options.

    The primary difference is that the Instance options are slower and consume more memory, while the per-type options (which are the default) are faster and consume less memory.


    Rocky
View as RSS news feed in XML

Please contact Magenic for your .NET consulting and CSLA .NET mentoring needs.
Please consider making a donation to help support the ongoing development of CSLA .NET.

Make donation through PayPal - it's fast, free and secure!
Why donate?
Powered by Community Server, by Telligent Systems