M
moondaddy
I'm writing an winforms app in vb.net 1.1 and am having trouble referencing
a strongly typed dataset in the UI project. The dataset's source is behind
a web service and the data project (client side) gets a reference to the
dataset schema and all that comes with strongly typing a dataset via a
reference to the web service. The business tier which depends on the data
tier and also imports the namespace of the data project can reference this
dataset OK due to importing the data project's namespace. However, up one
more level in the UI project I can't reference the dataset because it's main
reference exists in the data tier and can not be seen through the business
tier.
For example, the project as names are as follows
VIPNow_WinUI UI tier
VIPNow_WinBLL Business tier
VIPNow_WinDAL Client side data tier
wsVA is the reference to the web service in the data tier
dsVAL_LU is the name of the dataset
tbVA_LU is a data table in the dataset
and the msg in the blue squiggly is:
Public ReadOnly Property tbVA_LU() As
VIPNow_WinDAL.wsVA.dsVAL_LU.tbVA_LUDataTable' is declared in project
'VIPNow_WinDAL.dll', which is not referenced by project 'VIPNow_WinUIL.exe'.
One of many reasons I need to reference the dataset in the UI tier is
because I pass parts of the dataset such as a datatable from the business
tier to the UI tier. another reason is I can have intellesence on the
dataset while having it's original source (where its strongly typed) in one
single place for the entire application which is behind the web service on
the server.
Is there a way to reference this dataset in the UI tier?
a strongly typed dataset in the UI project. The dataset's source is behind
a web service and the data project (client side) gets a reference to the
dataset schema and all that comes with strongly typing a dataset via a
reference to the web service. The business tier which depends on the data
tier and also imports the namespace of the data project can reference this
dataset OK due to importing the data project's namespace. However, up one
more level in the UI project I can't reference the dataset because it's main
reference exists in the data tier and can not be seen through the business
tier.
For example, the project as names are as follows
VIPNow_WinUI UI tier
VIPNow_WinBLL Business tier
VIPNow_WinDAL Client side data tier
wsVA is the reference to the web service in the data tier
dsVAL_LU is the name of the dataset
tbVA_LU is a data table in the dataset
and the msg in the blue squiggly is:
Public ReadOnly Property tbVA_LU() As
VIPNow_WinDAL.wsVA.dsVAL_LU.tbVA_LUDataTable' is declared in project
'VIPNow_WinDAL.dll', which is not referenced by project 'VIPNow_WinUIL.exe'.
One of many reasons I need to reference the dataset in the UI tier is
because I pass parts of the dataset such as a datatable from the business
tier to the UI tier. another reason is I can have intellesence on the
dataset while having it's original source (where its strongly typed) in one
single place for the entire application which is behind the web service on
the server.
Is there a way to reference this dataset in the UI tier?