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.
EditableGetSetBase.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="EditableGetSetBase.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.PropertyGetSet
16
{
17
[
Serializable
]
18
public
class
EditableGetSetBase
<T> :
EditableGetSetTopBase
<T>
19
where T:
EditableGetSetBase
<T>
20
{
21
private
static
int
_dummy;
22
23
public
EditableGetSetBase
()
24
{
25
_dummy = _dummy + 0;
26
}
27
28
private
static
PropertyInfo<string>
BaseProperty = RegisterProperty<string>(typeof(
EditableGetSetBase<T>
),
new
PropertyInfo<string>
(
"Base"
,
"Base"
));
29
public
string
Base
30
{
31
get
{
return
GetProperty<string>(BaseProperty); }
32
set
{ SetProperty<string>(BaseProperty, value); }
33
}
34
}
35
36
[
Serializable
]
37
public
class
EditableGetSetNFIBase
<T> :
EditableGetSetTopNFIBase
<T>
38
where T :
EditableGetSetNFIBase
<T>
39
{
40
public
EditableGetSetNFIBase
()
41
{
42
}
43
44
public
static
PropertyInfo<string>
BaseProperty
= RegisterProperty<string>(
new
PropertyInfo<string>
(
"Base"
,
"Base"
));
45
public
string
Base
46
{
47
get
{
return
GetProperty<string>(
BaseProperty
); }
48
set
{ SetProperty<string>(
BaseProperty
, value); }
49
}
50
}
51
}
Csla.PropertyInfo
Maintains metadata about a property.
Definition:
Csla/PropertyInfo.cs:22
Csla.Test.PropertyGetSet.EditableGetSetBase
Definition:
EditableGetSetBase.cs:20
Csla.Test.PropertyGetSet.EditableGetSetBase.EditableGetSetBase
EditableGetSetBase()
Definition:
EditableGetSetBase.cs:23
Csla.Test.PropertyGetSet.EditableGetSetBase.Base
string Base
Definition:
EditableGetSetBase.cs:30
Csla.Test.PropertyGetSet.EditableGetSetNFIBase
Definition:
EditableGetSetBase.cs:39
Csla.Test.PropertyGetSet.EditableGetSetNFIBase.BaseProperty
static PropertyInfo< string > BaseProperty
Definition:
EditableGetSetBase.cs:44
Csla.Test.PropertyGetSet.EditableGetSetNFIBase.Base
string Base
Definition:
EditableGetSetBase.cs:46
Csla.Test.PropertyGetSet.EditableGetSetNFIBase.EditableGetSetNFIBase
EditableGetSetNFIBase()
Definition:
EditableGetSetBase.cs:40
Csla.Test.PropertyGetSet.EditableGetSetTopBase
Definition:
EditableGetSetTopBase.cs:20
Csla.Test.PropertyGetSet.EditableGetSetTopNFIBase
Definition:
EditableGetSetTopBase.cs:39
Csla.Serialization
Definition:
AutoNonSerializedAttribute.cs:11
Csla.Test.PropertyGetSet
Definition:
BadGetSet.cs:16
Csla
Definition:
BusinessRuleCases.cs:5
Csla.TransactionIsolationLevel.Serializable
@ Serializable
Prevents updating or inserting until the transaction is complete.
Generated by
1.9.2