I have a LINQ business object with some calculated properties defined in a partial class. The calculated properties are showing up in the Data Explorer intermittently. Any ideas why the CityStateZip property is often not showing up in the Data Explorer?
Below is a simple example (with most of the LINQ generated code removed)
Below is the calculated property in my code:
Below is a simple example (with most of the LINQ generated code removed)
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;}}Below is the calculated property in my code:
public partial class Address{ public string CityStateZip { get { return City + ", " + State + " " + Zip; } }}