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.
Csla.test/Basic/GrandChildren.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="GrandChildren.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>no summary</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Text;
11using System.Data;
12
13namespace Csla.Test.Basic
14{
15 [Serializable()]
16 public class GrandChildren : BusinessBindingListBase<GrandChildren, GrandChild>
17 {
18 public void Add(string data)
19 {
20 this.Add(GrandChild.NewGrandChild(data));
21 }
22
23 internal static GrandChildren NewGrandChildren()
24 {
25 return new GrandChildren();
26 }
27
28 internal static GrandChildren GetGrandChildren(IDataReader dr)
29 {
30 return null;
31 }
32
33 internal void Update(IDbTransaction tr)
34 {
35 foreach (GrandChild child in this)
36 {
37 child.Update(tr);
38 }
39 }
40
42 {
44 }
45 }
46}
void MarkAsChild()
Marks the object as being a child object.
@ Serializable
Prevents updating or inserting until the transaction is complete.