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/CommandObject.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="CommandObject.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
Csla
.
Serialization
;
12
13
namespace
Csla.Test.Basic
14
{
15
[
Serializable
]
16
public
class
CommandObject
:
Csla
.
CommandBase
<CommandObject>
17
{
18
19
private
static
object
locker =
new
object();
20
21
private
string
_property =
""
;
22
public
string
AProperty
23
{
24
get
25
{
26
return
_property;
27
}
28
}
29
30
[Create]
31
protected
void
DataPortal_Create
()
32
{
33
}
34
35
[
Execute
]
36
protected
void
DataPortal_Execute
()
37
{
38
lock (locker)
39
{
40
TestResults
.
Add
(
"CommandObject"
,
"DataPortal_Execute called"
);
41
_property =
"Executed"
;
42
}
43
}
44
45
public
CommandObject
()
46
{
47
}
48
}
49
}
Csla.CommandBase
This is the base class from which command objects will be derived.
Definition:
CommandBase.cs:51
Csla.Test.Basic.CommandObject
Definition:
csla.netcore.test/Basic/CommandObject.cs:17
Csla.Test.Basic.CommandObject.AProperty
string AProperty
Definition:
csla.netcore.test/Basic/CommandObject.cs:23
Csla.Test.Basic.CommandObject.DataPortal_Execute
void DataPortal_Execute()
Definition:
csla.netcore.test/Basic/CommandObject.cs:36
Csla.Test.Basic.CommandObject.DataPortal_Create
void DataPortal_Create()
Definition:
csla.netcore.test/Basic/CommandObject.cs:31
Csla.Test.Basic.CommandObject.CommandObject
CommandObject()
Definition:
csla.netcore.test/Basic/CommandObject.cs:45
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.Serialization
Definition:
AutoNonSerializedAttribute.cs:11
Csla.Test.Basic
Definition:
csla.netcore.test/Basic/BasicTests.cs:25
Csla
Definition:
BusinessRuleCases.cs:5
Csla.TransactionIsolationLevel.Serializable
@ Serializable
Prevents updating or inserting until the transaction is complete.
Csla.DataPortalOperations.Execute
@ Execute
Execute operation.
Generated by
1.9.2