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.
AddressBase.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="AddressBase.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
Csla
;
10
using
Csla
.
Serialization
;
11
12
namespace
cslalighttest.Serialization
13
{
14
[
Serializable
]
15
public
class
AddressBase
:
BusinessBase
<AddressBase>
16
{
17
public
static
readonly
PropertyInfo<string>
CityProperty
= RegisterProperty<string>(
18
typeof(
AddressBase
),
19
new
PropertyInfo<string>
(
"City"
));
20
21
public
string
City
22
{
23
get
{
return
GetProperty<string>(
CityProperty
); }
24
set
{ SetProperty<string>(
CityProperty
, value); }
25
}
26
}
27
}
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
cslalighttest.Serialization.AddressBase
Definition:
AddressBase.cs:16
cslalighttest.Serialization.AddressBase.CityProperty
static readonly PropertyInfo< string > CityProperty
Definition:
AddressBase.cs:17
cslalighttest.Serialization.AddressBase.City
string City
Definition:
AddressBase.cs:22
Csla.Serialization
Definition:
AutoNonSerializedAttribute.cs:11
Csla
Definition:
BusinessRuleCases.cs:5
Csla.TransactionIsolationLevel.Serializable
@ Serializable
Prevents updating or inserting until the transaction is complete.
cslalighttest.Serialization
Definition:
Address.cs:13
Generated by
1.9.2