What determines if an object is available in the Data Configuration Wizard? I have the following class in my BLL and I want to be able to bind controls to the data table I turned into a property but the only thing that shows up in the list of available data sources is the class name.
public class AoiNameBLL : SeedSizerDs
{
private aoi_nameTableAdapter _aoiAdapter = null;
protected aoi_nameTableAdapter Adapter
{
get
{
if (_aoiAdapter == null)
_aoiAdapter = new aoi_nameTableAdapter();
return _aoiAdapter;
}
}
private aoi_nameDataTable _aoiNameDt = null;
public aoi_nameDataTable AoiNameDt
{
get
{
if (_aoiNameDt == null)
_aoiNameDt = GetAoiName();
return _aoiNameDt;
}
}
/// <summary>
/// Get all records from AoiName table
/// </summary>
/// <returns>DataTable of all records</returns>
public aoi_nameDataTable GetAoiName()
{
return Adapter.GetAoiName();
}
}
Any push in the right direction would be great.
Thanks.