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.
SingleList.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="SingleList.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.Linq;
11
using
System.Text;
12
using
Csla
;
13
using
Csla
.
Serialization
;
14
15
namespace
Csla.Test.ChildChanged
16
{
17
[
Serializable
]
18
public
class
SingleList
:
BusinessBindingListBase
<SingleList, SingleRoot>
19
{
20
public
SingleList
()
21
{
22
}
23
24
public
SingleList
(
bool
child)
25
: this()
26
{
27
if
(child)
28
MarkAsChild
();
29
}
30
31
[Fetch]
32
[FetchChild]
33
private
void
Fetch(
bool
child)
34
{
35
if
(child)
36
MarkAsChild
();
37
}
38
}
39
}
Csla.BusinessBindingListBase
This is the base class from which most business collections or lists will be derived.
Definition:
BusinessBindingListBase.cs:34
Csla.BusinessBindingListBase< SingleList, SingleRoot >::MarkAsChild
void MarkAsChild()
Marks the object as being a child object.
Definition:
BusinessBindingListBase.cs:720
Csla.Test.ChildChanged.SingleList
Definition:
SingleList.cs:19
Csla.Test.ChildChanged.SingleList.SingleList
SingleList(bool child)
Definition:
SingleList.cs:24
Csla.Test.ChildChanged.SingleList.SingleList
SingleList()
Definition:
SingleList.cs:20
Csla.Serialization
Definition:
AutoNonSerializedAttribute.cs:11
Csla.Test.ChildChanged
Definition:
ChildChangedTests.cs:26
Csla
Definition:
BusinessRuleCases.cs:5
Csla.TransactionIsolationLevel.Serializable
@ Serializable
Prevents updating or inserting until the transaction is complete.
Generated by
1.9.2