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//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Linq;
11using System.Text;
12using Csla;
14
16{
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)
29 }
30
31 [Fetch]
32 [FetchChild]
33 private void Fetch(bool child)
34 {
35 if (child)
37 }
38 }
39}
This is the base class from which most business collections or lists will be derived.
void MarkAsChild()
Marks the object as being a child object.
@ Serializable
Prevents updating or inserting until the transaction is complete.