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.
MissingRoot.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="MissingRoot.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
14
namespace
Csla.Test.ObjectFactory
15
{
16
[
Csla
.
Server
.
ObjectFactory
(
"MissingRootFactory"
)]
17
[
Serializable
]
18
public
class
MissingRoot
:
BusinessBase
<Root>
19
{
20
private
static
PropertyInfo<string>
DataProperty = RegisterProperty(
new
PropertyInfo<string>
(
"Data"
));
21
public
string
Data
22
{
23
get
{
return
GetProperty(DataProperty); }
24
set
{ SetProperty(DataProperty, value); }
25
}
26
27
private
static
PropertyInfo
<
Csla
.
ApplicationContext
.
ExecutionLocations
> LocationProperty = RegisterProperty(
new
PropertyInfo<Csla.ApplicationContext.ExecutionLocations>
(
"Location"
));
28
public
Csla
.
ApplicationContext
.
ExecutionLocations
Location
29
{
30
get
{
return
GetProperty(LocationProperty); }
31
set
{ SetProperty(LocationProperty, value); }
32
}
33
34
public
void
MarkAsNew
()
35
{
36
MarkNew();
37
}
38
39
public
void
MarkAsOld
()
40
{
41
MarkOld();
42
}
43
}
44
}
Csla.ApplicationContext
Provides consistent context information between the client and server DataPortal objects.
Definition:
ApplicationContext.cs:22
Csla.ApplicationContext.ExecutionLocations
ExecutionLocations
Enum representing the locations code can execute.
Definition:
ApplicationContext.cs:202
Csla.BusinessBase
This is the base class from which most business objects will be derived.
Definition:
BusinessBase.cs:38
Csla.PropertyInfo
Maintains metadata about a property.
Definition:
Csla/PropertyInfo.cs:22
Csla.Server.ObjectFactory
Base class to be used when creating a data portal factory object.
Definition:
ObjectFactory.cs:20
Csla.Test.ObjectFactory.MissingRoot
Definition:
MissingRoot.cs:19
Csla.Test.ObjectFactory.MissingRoot.Data
string Data
Definition:
MissingRoot.cs:22
Csla.Test.ObjectFactory.MissingRoot.MarkAsNew
void MarkAsNew()
Definition:
MissingRoot.cs:34
Csla.Test.ObjectFactory.MissingRoot.Location
Csla.ApplicationContext.ExecutionLocations Location
Definition:
MissingRoot.cs:29
Csla.Test.ObjectFactory.MissingRoot.MarkAsOld
void MarkAsOld()
Definition:
MissingRoot.cs:39
Csla.Server
Definition:
HttpPortal.cs:22
Csla.Test.ObjectFactory
Definition:
Csla.test/ObjectFactory/CommandObject.cs:14
Csla
Definition:
BusinessRuleCases.cs:5
Csla.TransactionIsolationLevel.Serializable
@ Serializable
Prevents updating or inserting until the transaction is complete.
Generated by
1.9.2