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
//-----------------------------------------------------------------------
8
using
System;
9
using
System.Collections.Generic;
10
using
System.Text;
11
using
System.Data;
12
13
namespace
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
41
public
GrandChildren
()
42
{
43
MarkAsChild
();
44
}
45
}
46
}
Csla.BusinessBindingListBase< GrandChildren, GrandChild >::MarkAsChild
void MarkAsChild()
Marks the object as being a child object.
Definition:
BusinessBindingListBase.cs:720
Csla.Test.Basic.GrandChild
Definition:
csla.netcore.test/Basic/GrandChild.cs:17
Csla.Test.Basic.GrandChildren
Definition:
csla.netcore.test/Basic/GrandChildren.cs:17
Csla.Test.Basic.GrandChildren.GrandChildren
GrandChildren()
Definition:
csla.netcore.test/Basic/GrandChildren.cs:32
Csla.Test.Basic.GrandChildren.Add
void Add(string data)
Definition:
Csla.test/Basic/GrandChildren.cs:18
Csla.Test.Basic
Definition:
csla.netcore.test/Basic/BasicTests.cs:25
Csla.TransactionIsolationLevel.Serializable
@ Serializable
Prevents updating or inserting until the transaction is complete.
Generated by
1.9.2