I am using asp.net dynamic data site. I have enabled scaffolding for all tables. It also displays foreign key. I want to display a data column instead of foreign key from the table.
Global.System.Data.Linq.Mapping.TableAttribute(Name:="dbo.ItemInProcess")
Partial Public Class ItemInProcess
Implements System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged
Private Shared emptyChangingEventArgs As PropertyChangingEventArgs = New PropertyChangingEventArgs(String.Empty)
Private _ItemInProcessID As Long
Private _ItemProcessDate As System.Nullable(Of Date)
Private _ItemProcessQuantity As System.Nullable(Of Integer)
Private _OutletID As System.Nullable(Of Long) '
This table ItemsInProcess contains _OutletID from Outlet table, I want to show OutletName column from Outlet table.