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.
IParent.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="IParent.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Defines the interface that must be implemented</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Core
11{
17 public interface IParent
18 {
24 void RemoveChild(Core.IEditableBusinessObject child);
31 void ApplyEditChild(Core.IEditableBusinessObject child);
39 IParent Parent { get; }
47 int GetNextIdentity(int current);
48 }
49}
Defines the interface that must be implemented by any business object that contains child objects.
Definition: IParent.cs:18
int GetNextIdentity(int current)
Gets and consumes the next available unique identity value for an object instance in the object graph...
void ApplyEditChild(Core.IEditableBusinessObject child)
Override this method to be notified when a child object's Core.BusinessBase.ApplyEdit method has comp...
void RemoveChild(Core.IEditableBusinessObject child)
This method is called by a child object when it wants to be removed from the collection.
IParent Parent
Provide access to the parent reference for use in child object code.
Definition: IParent.cs:39