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.netcore.test/Basic/NameValueListObj.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="NameValueListObj.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
12
namespace
Csla.Test.Basic
13
{
14
[
Serializable
()]
15
public
class
NameValueListObj
:
NameValueListBase
<int, string>
16
{
17
[
Fetch
]
18
protected
void
DataPortal_Fetch
()
19
{
20
TestResults
.
Add
(
"NameValueListObj"
,
"Fetched"
);
21
22
this.IsReadOnly =
false
;
23
for
(
int
i = 0; i < 10; i++)
24
{
25
this.Add(
new
NameValuePair(i,
"element_"
+ i.ToString()));
26
}
27
this.IsReadOnly =
true
;
28
}
29
}
30
}
Csla.NameValueListBase
This is the base class from which readonly name/value collections should be derived.
Definition:
NameValueListBase.cs:29
Csla.Test.Basic.NameValueListObj
Definition:
csla.netcore.test/Basic/NameValueListObj.cs:16
Csla.Test.Basic.NameValueListObj.DataPortal_Fetch
void DataPortal_Fetch()
Definition:
csla.netcore.test/Basic/NameValueListObj.cs:18
Csla.Test.TestResults
Static dictionary-like class that offers similar functionality to GlobalContext This is used in tests...
Definition:
TestResults.cs:21
Csla.Test.TestResults.Add
static void Add(string key, string value)
Add an item to the test results, to indicate an outcome of a particular operation
Definition:
TestResults.cs:29
Csla.Test.Basic
Definition:
csla.netcore.test/Basic/BasicTests.cs:25
Csla.TransactionIsolationLevel.Serializable
@ Serializable
Prevents updating or inserting until the transaction is complete.
Csla.DataPortalOperations.Fetch
@ Fetch
Fetch operation.
Generated by
1.9.2