CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
RootException.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
7{
8 public class RootException : BusinessBase<RootException>
9 {
10 private static int _counter = 0;
11 public static int Counter
12 {
13 get { return _counter; }
14 set { _counter = value; }
15 }
16
17 public static void AddObjectAuthorizationRules()
18 {
19 System.Threading.Interlocked.Increment(ref _counter);
20 throw new ArgumentException();
21 }
22 }
23}
This is the base class from which most business objects will be derived.
Definition: BusinessBase.cs:38