Would XML Serialization be an option? Med venlig hilsen / Best regards
Benny -----Oprindelig meddelelse----- Fra: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] På vegne af John Warner Sendt: 6. juni 2008 15:46 Til: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Emne: Re: [ADVANCED-DOTNET] creating a 1.1 dataset in 2005/2008. Prioritet: Lav See I said my interface idea might be all wet and your friend has already proved it. John Warner > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Geoff Taylor > Sent: Friday, June 06, 2008 9:23 AM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] creating a 1.1 dataset in 2005/2008. > > > I don't envy you in the slightest. A friend looked at > putting an interface around a 1.1 dataset and ended up > whimpering a lot. > > The 'extern' alias, however, might help you here: > http://msdn.microsoft.com/en-us/library/ms173212.aspx > > Good luck, > > Geoff > > On Fri, Jun 6, 2008 at 2:18 PM, Nicholls, Mark > <[EMAIL PROTECTED]> > wrote: > > > I could put an interface on it, the bottom line is that > something has > > to take the contents of a 2.0 dataset and put it in the 1.1 > dataset... > > > > I could unpack everything and put the data in native types and pass > > them across. > > > > I was hoping that I could just add a reference to the 1.1 > system.data > > dll and hey presto, but it complains that I already have a > system.data > > reference.....even though they are in fact completely different. > > > > > -----Original Message----- > > > From: Discussion of advanced .NET topics. [mailto:ADVANCED- > > > [EMAIL PROTECTED] On Behalf Of John Warner > > > Sent: 06 June 2008 14:13 > > > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > > > Subject: Re: [ADVANCED-DOTNET] creating a 1.1 dataset in > 2005/2008. > > > Importance: Low > > > > > > Would an interface work here. I confess I've not faced > this problem > > > so this is a guess on my part. The thing is the interface > would give > > > you the ability to create the correct object type but not require > > > the > > inheritance > > > chain. Of course I could be so wet here... > > > > > > John Warner > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Discussion of advanced .NET topics. > > > > [mailto:[EMAIL PROTECTED] On Behalf Of Mark > > > > Nicholls > > > > Sent: Friday, June 06, 2008 9:08 AM > > > > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > > > > Subject: Re: [ADVANCED-DOTNET] creating a 1.1 dataset in > > > > 2005/2008. > > > > > > > > > > > > I thought about that one..... > > > > > > > > create a dataset factory in a 1.1 dll. > > > > > > > > Can't say I've ever done it before. > > > > > > > > And what would I type the return value in the 2005/2008 code. > > > > > > > > I'd need to able to fill it with data....but if it's an > 'object' > > > > type, I can't do it. > > > > > > > > > > > > >Separate .dll for the data part built in 1.1? > > > > > > > > > >John Warner > > > > > > > > > > > > > > > > > > > > > > > > >> -----Original Message----- > > > > >> From: Discussion of advanced .NET topics. > > > > >> [mailto:[EMAIL PROTECTED] On > Behalf Of Mark > > > > >> Nicholls > > > > >> Sent: Friday, June 06, 2008 8:54 AM > > > > >> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > > > > >> Subject: [ADVANCED-DOTNET] creating a 1.1 dataset in > 2005/2008. > > > > >> > > > > >> > > > > >> hello, I've got a set of applications that communicate by > > > > >> sending serialised datasets between them via msmq. > > > > >> > > > > >> I want to upgrade part of the system, and use 2005 or > > > > 2008, but these > > > > >> target 2.0, so I need to be able create 1.1 datasets > > > > instead, without > > > > >> having to upgrade the whole system. > > > > >> > > > > >> Any ideas? > > > > >> > > > > >> =================================== > > > > >> This list is hosted by DevelopMentorR http://www.develop.com > > > > >> > > > > >> View archives and manage your subscription(s) at > > > > >> http://discuss.develop.com > > > > >> > > > > > > > > > >=================================== > > > > >This list is hosted by DevelopMentorR http://www.develop.com > > > > > > > > > >View archives and manage your subscription(s) at > > > > http://discuss.develop.com > > > > > > > > =================================== > > > > This list is hosted by DevelopMentorR http://www.develop.com > > > > > > > > View archives and manage your subscription(s) at > > > > http://discuss.develop.com > > > > > > > > > > =================================== > > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > > > View archives and manage your subscription(s) at > > > http://discuss.develop.com > > > > > > > > CONFIDENTIALITY NOTICE > > > > This e-mail (and any attached files) is confidential and > protected by > > copyright (and other intellectual property rights). If you > are not the > > intended recipient please e-mail the sender and then delete > the email > > and any attached files immediately. Any further use or > dissemination > > is prohibited. > > > > While MTV Networks Europe has taken steps to ensure that this email > > and any attachments are virus free, it is your responsibility to > > ensure that this message and any attachments are virus free > and do not > > affect your systems / data. > > > > Communicating by email is not 100% secure and carries risks such as > > delay, data corruption, non-delivery, wrongful interception and > > unauthorised amendment. If you communicate with us by e-mail, you > > acknowledge and assume these risks, and you agree to take > appropriate > > measures to minimise these risks when e-mailing us. > > > > MTV Networks International, MTV Networks UK & Ireland, Greenhouse, > > Nickelodeon Viacom Consumer Products, VBSi, Viacom Brand Solutions > > International and Comedy Central are all trading names of > MTV Networks > > Europe. MTV Networks Europe is a partnership between MTV Networks > > Europe Inc. and Viacom Networks Europe Inc. Address for service in > > Great Britain is UK House, 180 Oxford Street, London W1D 1DS, UK. > > > > =================================== > > This list is hosted by DevelopMentor(R) http://www.develop.com > > > > View archives and manage your subscription(s) at > > http://discuss.develop.com > > > > =================================== > This list is hosted by DevelopMentorR http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentor. http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com