|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Typed DataSet - why compile to dll?I understand that I can generate a strongly typed DataSet using the XSD.exe tool
provided with the .NET Framework SDK. I also understand that I can compile the class generated by the xsd tool into a dll. ( http://msdn2.microsoft.com/en-us/library/wha85tzb.aspx ) My question is this: Why would I want a dll rather than the generated class? What can I do with the dll that I can't do with the class? Are there any advantages of one over the other? Is there any difference - syntax or otherwise - in accessing the dll vs. the generated class? Thanks in advance. I think it is just a feature that does compiling for you.
It is on you whether you need it or not. -- Show quoteMiha Markic [MVP C#] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "deko" <deko@nospam.com> wrote in message news:kqSdneG8P-VxeIXZnZ2dnUVZ_vmdnZ2d@comcast.com... >I understand that I can generate a strongly typed DataSet using the XSD.exe >tool provided with the .NET Framework SDK. I also understand that I can >compile the class generated by the xsd tool into a dll. ( >http://msdn2.microsoft.com/en-us/library/wha85tzb.aspx ) > > My question is this: > > Why would I want a dll rather than the generated class? What can I do > with the dll that I can't do with the class? Are there any advantages of > one over the other? Is there any difference - syntax or otherwise - in > accessing the dll vs. the generated class? > > Thanks in advance. > >
Show quote
On Wed, 15 Mar 2006 20:14:44 -0800, "deko" <deko@nospam.com> wrote: Suppose you want to access the same data from more than one application. If you>I understand that I can generate a strongly typed DataSet using the XSD.exe tool >provided with the .NET Framework SDK. I also understand that I can compile the >class generated by the xsd tool into a dll. ( >http://msdn2.microsoft.com/en-us/library/wha85tzb.aspx ) > >My question is this: > >Why would I want a dll rather than the generated class? What can I do with the >dll that I can't do with the class? Are there any advantages of one over the >other? Is there any difference - syntax or otherwise - in accessing the dll vs. >the generated class? > >Thanks in advance. > have the dll you can reference it in another application and use it there (portability). Otis Mukinfus http://www.arltex.com http://www.tomchilders.com |
|||||||||||||||||||||||