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.
ObjectAccessor.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="ObjectAccessor.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>internal implemetation to expose BypassPropertyChecks</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Linq;
11using System.Text;
12using System.Threading.Tasks;
13using Csla.Server;
14
15namespace Csla.Validation
16{
17 internal class ObjectAccessor : ObjectFactory
18 {
19 internal new IDisposable BypassPropertyChecks(Csla.Core.BusinessBase target)
20 {
21 return base.BypassPropertyChecks(target);
22 }
23 }
24}
This is the non-generic base class from which most business objects will be derived.
Base class to be used when creating a data portal factory object.
IDisposable BypassPropertyChecks(Csla.Core.BusinessBase businessObject)
By wrapping this property inside Using block you can set property values on businessObject business o...