What remains to be implemented in order to support Windows Forms with disconnected state?

Is there a similar BindingSource that was available in 3.9.5?

Thanks


Updated at 18.02.2010 8:09:43

Only thing we use is DataObjects.NET.UI.BindingSource component

Specifically...

1) Setting bindingSource.ItemType = typeof(Offline.MyEntity) 2) bindingSource.BindingContext = new DataObjects.NET.UI.BindingContext(ObjectSet); 3) calling bindingSource.EnsurePropertyExists(...) for all required properties. 4) setting bindingSource.DataSource to some DataObjectCollection or QueryResult (or using AttachList method)

And we often handle bindingSource.AddingNew event and provide e.NewObject

That's about it.

1) A way to attach an Entity, EntitySet, or IQueryable<t> as the data source. 2) To specify that some nested properties should be "available" (i.e. EnsurePropertyExists method). I don't understand fully why we need this.


Updated at 25.02.2010 8:39:00

ping

This thread was imported from our support forum. The original discussion may contain more detailed answer.

asked Feb 18 '10 at 06:35

ara's gravatar image

ara
395858791

Right now nothing special is done there, although we're looking for options.

What do you think, what must be done there on our side? An implementation of BidningSource for DO4, or, may be, something different?

(Feb 18 '10 at 06:35) Alex Yakunin Alex%20Yakunin's gravatar image

Ok. I'll take a look at old implementation to make a decision on how fast this can be implemented, and will notify you here after v4.2 release. If I'll keep the silence for more then few days, please ping this topic.

(Feb 18 '10 at 06:35) Alex Yakunin Alex%20Yakunin's gravatar image

Err... I had no time to study this yet (no release = no time :( ). I'll take a look at this right after v4.2 release.

(Feb 18 '10 at 06:35) Alex Yakunin Alex%20Yakunin's gravatar image
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA