StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


12»»

Why do I keep loosing BO in the IDE data...Expand / Collapse
Author
Message
Posted 06/28/2007 11:45:15 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 10/31/2007 5:20:05 PM
Posts: 374, Visits: 1,197
I list my BOs in the "DataSource" pane for field referencing. But I keep loosing BOs in the datasource and I have to go back and add them again. I can't find any pattern as what I do, that the IDE looses the BO.

Has anyone run into this and has any solution?

Thanks!

..ßen
Post #9828
Posted 06/28/2007 12:03:43 PM
StrataFrame VIP

StrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIPStrataFrame VIP

Group: StrataFrame Users
Last Login: 2 days ago @ 7:31:07 PM
Posts: 1,241, Visits: 3,131
You can put BOs in the data source pane??
Post #9829
Posted 06/28/2007 12:27:36 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 10/31/2007 5:20:05 PM
Posts: 374, Visits: 1,197
Greg McGuffey (06/28/2007)
You can put BOs in the data source pane??


Yes Sir! I was asking how I can see my BO fields at design time and Ben showed me that I can put BOs in the datasaource pane and you can click on each + next to BO and will show you all the fields.

The problem that I run into, They keep falling off the pane and I have to add them back again.

..ßen
Post #9830
Posted 06/28/2007 1:15:08 PM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: Today @ 1:17:57 PM
Posts: 622, Visits: 19,092
/facepalm
Post #9832
Posted 06/28/2007 2:28:09 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 10/31/2007 5:20:05 PM
Posts: 374, Visits: 1,197
Keith Chisarik (06/28/2007)
/facepalm


Can you explain that?

..ßen
Post #9833
Posted 06/29/2007 9:03:10 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 2 days ago @ 5:02:56 PM
Posts: 2,682, Visits: 1,882
My guess of /facepalm is that it's what you do when you let out a big sigh... you put your head down and cover your face with your hand(s).  Hence, face-to-palm or /facepalm. 


www.bungie.net
Post #9841
Posted 06/29/2007 9:07:23 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 2 days ago @ 5:02:56 PM
Posts: 2,682, Visits: 1,882
As for getting business objects in the data source pane, you can only add types or special DDEX objects to the Data Sources pane (such as SQL tables).  But, if you want to add a business object, you can either add the data source as a type (you select object from the Add New Data Source wizard) or you can create a wrapper BusinessBindingSource to go along with your business object.  To do so, you can create a new class, inherit from BusinessBindingSource, and in the constructor, set the BusinessObject property to a new instance of the business object type that you want to have in the list.  Then, go through the Add New Data Source Wizard and just like adding the BO directly, select Object and find your type in the tree view of available types.


www.bungie.net
Post #9842
Posted 06/29/2007 12:14:44 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 10/31/2007 5:20:05 PM
Posts: 374, Visits: 1,197
Ben, Thank you very much for explaning both points. Although I usually don't put my palm on my face (and that's why I didn't get the comment), I tend to kick the computer...

As far as the BO on the DataSource Pane goes, I do have BBS for all the BOs and I use the wizard to add them and they stay on for a while and then they disappear.

I "think" I've found the reason. I had set my VS to reload the last project at startup and seems like I ran into serveral problems, i.e, any SF that used Themes, would not show the Theme again in IDE unless I had to go to SF References and reset the Theme again. I now changed the Startup to nothing and I manually load the project and things look normal now, including the BOs in DataSource Pane!

I always welcome your great inputs!

..ßen
Post #9855
Posted 07/02/2007 9:06:00 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 2 days ago @ 5:02:56 PM
Posts: 2,682, Visits: 1,882
That's good to know about the auto-loading of a project... my guess would be that some of the DTE events (Design-Time Extensibility, the managed interface we tie into in order to communicate with Visual Studio) are not firing or are more likely not being attached to before the project is loaded.  I'm not sure there's a way around that... I think the project might get loaded before our add-in if you've got it set to auto-load.


www.bungie.net
Post #9889