471,317 Members | 1,378 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

SendPropertyChanged always null ?

dba
I'm having a problem with LINQ, I know my property isvalid is set to
true, when I step through the code it's fine, this._IsValid = value is
set to true, but when it gets to SendPropertyChanged it's always null.
The if is always false and never updates?

protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}

[Column(Storage="_IsValid", DbType="Bit")]
public System.Nullable<boolIsValid
{
get
{
return this._IsValid;
}
set
{
if ((this._IsValid != value))
{
this.OnIsValidChanging(value);
this.SendPropertyChanging();
this._IsValid = value;
this.SendPropertyChanged("IsValid");
this.OnIsValidChanged();
}
}
}

Apr 4 '08 #1
0 1329

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Eric Linders | last post: by
2 posts views Thread by Rene van Hoek | last post: by
2 posts views Thread by mlevit | last post: by
6 posts views Thread by KDawg44 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.