Sharing a BO


Author
Message
Ian Johnston
Ian Johnston
StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)StrataFrame User (151 reputation)
Group: StrataFrame Users
Posts: 77, Visits: 470
I am trying to use two projects in a solution, I have set a reference from the main project to my reports project and added the BO as a link from main to reports. I can see the BO in the toolbox and add it to a form in reports. I cannot see my Fill() method to populate the BO. When I run the app and try to load the form I get the following messages :

  Message "The class [WindowsApplication1.BusinessObjects.USDAgroupBO] must override the property 'TableName' since it derives from MicroFour.StrataFrame.Business.BusinessLayer." string




  StackTrace "   at MicroFour.StrataFrame.Business.BusinessLayer.get_TableName()\r\n   at MicroFour.StrataFrame.Business.BusinessLayer.CreateInternalTable()\r\n   at MicroFour.StrataFrame.Business.BusinessLayer.get__CurrentDataTable(Boolean IsSharedTable)\r\n   at MicroFour.StrataFrame.Business.BusinessLayer.RefreshBoundControls()\r\n   at MicroFour.StrataFrame.Business.BusinessLayer.InitializeObject()\r\n   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.InitializeFormLoadObjects()\r\n   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnLoad(EventArgs e)\r\n   at System.Windows.Forms.Form.OnCreateControl()\r\n   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)\r\n   at System.Windows.Forms.Control.CreateControl()\r\n   at System.Windows.Forms.Control.WmShowWindow(Message& m)\r\n   at System.Windows.Forms.Control.WndProc(Message& m)\r\n   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)\r\n   at System.Windows.Forms.ContainerControl.WndProc(Message& m)\r\n   at System.Windows.Forms.Form.WmShowWindow(Message& m)\r\n   at System.Windows.Forms.Form.WndProc(Message& m)\r\n   at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)\r\n   at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)\r\n   at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)" string




This is my first time trying this any help would be appreciated.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search