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.
ITrackStatus.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="ITrackStatus.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Defines the common properties required objects</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Core
11{
16 public interface ITrackStatus : INotifyBusy
17 {
37 bool IsValid { get; }
53 bool IsSelfValid { get; }
73 bool IsDirty { get; }
91 bool IsSelfDirty { get; }
106 bool IsDeleted { get; }
120 bool IsNew { get; }
132 bool IsSavable { get; }
142 bool IsChild { get; }
143 }
144}
Interface defining an object that notifies when it is busy executing an asynchronous operation.
Definition: INotifyBusy.cs:17
Defines the common properties required objects that track their own status.
Definition: ITrackStatus.cs:17
bool IsSavable
Returns true if this object is both dirty and valid.
bool IsSelfDirty
Returns true if this object's data has been changed.
Definition: ITrackStatus.cs:91
bool IsDeleted
Returns true if this object is marked for deletion.
bool IsNew
Returns true if this is a new object, false if it is a pre-existing object.
bool IsValid
Returns true if the object and its child objects are currently valid, false if the object or any of i...
Definition: ITrackStatus.cs:37
bool IsChild
Returns true if this is a child object, false if it is a root object.
bool IsDirty
Returns true if this object's data, or any of its fields or child objects data, has been changed.
Definition: ITrackStatus.cs:73
bool IsSelfValid
Returns true if the object is currently valid, false if the object has broken rules or is otherwise i...
Definition: ITrackStatus.cs:53