CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Validation.Shared/ReadOnlyBase.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="ReadOnlyBase.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Intermediate base class for ReadOnlyBase that provides properties for the CSLA 3.x migration</summary>
7//----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Linq;
11using System.Text;
12using System.Threading.Tasks;
13using Csla.Rules;
14
15namespace Csla.Validation
16{
22 public class ReadOnlyBase<T> : Csla.ReadOnlyBase<T> where T:ReadOnlyBase<T>
23 {
28 {
29 get { return base.BusinessRules; }
30 }
31
36 {
37 get { return base.BusinessRules; }
38 }
39 }
40}
Tracks the business rules for a business object.
BusinessRules()
Creates an instance of the object.
Intermediate base class for ReadOnlyBase
BusinessRules AuthorizationRules
AuthorizationRules for CSLA 3.x compatibility
BusinessRules ValidationRules
ValidationRules for CSLA 3.x compatibility
@ Serializable
Prevents updating or inserting until the transaction is complete.