or
public
partial
class
Address: INotifyPropertyChanging, INotifyPropertyChanged
{
[Column(Storage=
"_City"
, DbType=
"NVarChar(30) NOT NULL"
, CanBeNull=
false
)]
public
string
City {
get
;
set
;}
[Column(Storage=
"_State"
, DbType=
"NVarChar(30) NOT NULL"
, CanBeNull=
false
)]
public
string
State {
get
;
set
;}
[Column(Storage=
"_Zip"
, DbType=
"NVarChar(30) NOT NULL"
, CanBeNull=
false
)]
public
string
Zip {
get
;
set
;}
}
public
partial
class
Address
{
public
string
CityStateZip
{
get
{
return
City +
", "
+ State +
" "
+ Zip;
}
}
}