Home All Groups Group Topic Archive Search About

Dataset Extended Properties (msprop:* in xsd)

Author
4 Apr 2006 2:13 PM
Ian
I found reference to these in several places.  First on MSDN, with
little explanation
(<http://msdn2.microsoft.com/en-US/library/8bw9ksd6(VS.80).aspx>) and
then with slightly more information
(<http://www.thechannelinsider.com/article2/0,1895,1844601,00.asp>).

As best I'm able to tell these should be governing the DataSet.xsd >
DataSet.Designer.cs creation process in the MSDataSetGenerator custom
tool.  But as far as I can tell, they're not.

I'll try something as simple as this:

<xs:element name="_test1_TestDataSet" msdata:IsDataSet="true"
msdata:UseCurrentLocale="true"
msprop:Generator_UserDSName="_test2_TestDataSet"
msprop:Generator_DataSetName="_test3_TestDataSet">

and the class seems to get named _test1_TestDataSet no matter what I
do, when, according to my reading of the articles, it ought to be
_test3_TestDataSet.

Am I doing something wrong? Do I have to do something in particular to
get VS to respect these property settings? Or are these properties just
a vestige of a good thought that never made it to fruition?

Thanks,
Ian

AddThis Social Bookmark Button