Glad you figured it out. If you're classes were created like you had listed out. Below is what I would expect them to look like if you wanted to change one of the properties and have it reflect your bindings. If you are using Entities generated by RIA to my knowledge they contain an INPC implementation. If not or you are extending, you'd have to implement your own. I'm not sure if you are familiar with MVVM Light but it's ViewModelBase has the RaisePropertyChanged contained in this code. The ReflectionUtility.GetPropertyName saves me from using magic strings.
public
class
Customer
{
private
string
_name;
private
EntityCollection<CustomerStatus> _customerStatus;
private
Guid _statusguid;
public
string
Name
{
get
{
return
_name; }
set
{
if
(_name != value)
{
_name = value;
RaisePropertyChanged(ReflectionUtility.GetPropertyName(() => Name));
}
}
}
public
EntityCollection<CustomerStatus> CustomerStatus
{
get
{
return
_customerStatus; }
set
{
if
(_customerStatus != value)
{
_customerStatus = value;
RaisePropertyChanged(ReflectionUtility.GetPropertyName(() => CustomerStatus));
}
}
}
public
Guid Statusguid
{
get
{
return
_statusguid; }
set
{
if
(_statusguid != value)
{
_statusguid = value;
RaisePropertyChanged(ReflectionUtility.GetPropertyName(() => Statusguid));
}
}
}
}
public
class
CustomerStatus
{
private
string
_statustext;
private
Guid _statusguid;
public
string
Statustext
{
get
{
return
_statustext; }
set
{
if
(_statustext != value)
{
_statustext = value;
RaisePropertyChanged(ReflectionUtility.GetPropertyName(() => Statustext));
}
}
}
public
Guid Statusguid
{
get
{
return
_statusguid; }
set
{
if
(_statusguid != value)
{
_statusguid = value;
RaisePropertyChanged(ReflectionUtility.GetPropertyName(() => Statusguid));
}
}
}
}