<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" version="2.0">
  <channel>
    <title>deepdark.net - James Green's Blog - Australian Data Generator for DB Pros</title>
    <link>http://deepdark.net/</link>
    <description>.NET, SQL Server and *.*</description>
    <image>
      <url>http://deepdark.net/files/deepdark.jpg</url>
      <title>deepdark.net - James Green's Blog - Australian Data Generator for DB Pros</title>
      <link>http://deepdark.net/</link>
    </image>
    <language>en-us</language>
    <copyright>James Green</copyright>
    <lastBuildDate>Thu, 31 Aug 2006 23:16:57 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>James.Green@deepdark.net</managingEditor>
    <webMaster>James.Green@deepdark.net</webMaster>
    <item>
      <trackback:ping>http://deepdark.net/Trackback.aspx?guid=e0d41aab-6f81-47ea-9681-7c7309bab953</trackback:ping>
      <pingback:server>http://deepdark.net/pingback.aspx</pingback:server>
      <pingback:target>http://deepdark.net/PermaLink,guid,e0d41aab-6f81-47ea-9681-7c7309bab953.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://deepdark.net/CommentView,guid,e0d41aab-6f81-47ea-9681-7c7309bab953.aspx</wfw:comment>
      <wfw:commentRss>http://deepdark.net/SyndicationService.asmx/GetEntryCommentsRss?guid=e0d41aab-6f81-47ea-9681-7c7309bab953</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">Hows that for a long title?  
<br /><br />
So there is a new version of Visual Studio (in <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=4014554e-903a-4a62-b429-2b027321c32d&amp;DisplayLang=en">CTP
at time of writing</a>) called <a href="http://msdn.microsoft.com/vstudio/teamsystem/dbpro/">Visual
Studio Team Edition for Database Professionals</a> - its aimed at people who might
associate themselves with the title Database Professional.  I gotta say, it looks
like a really good solution to some problems.<br /><br />
I attended a cabana session at <a href="http://www.microsoft.com/australia/teched2006/">Tech.Ed
(Tech.James?) this year</a> hosted by <a href="http://www.sqldownunder.com/">Greg
Low</a> on data generation in the product, and during the presentation it came up
that it would be nice to have custom generator for Australian-specific data... so
I thought I'd take a stab at it.<br /><br />
Below is a screencap of the kind of random data my generator will spit out. 
Handy for columns where a check constraint may be forcing a given format for the data. 
The format of the phone numbers is configurable by a property and the rows are conistant
for a location so that if we generate a Vic address it will have a valid Vic phone
number etc.<br /><br /><img src="http://deepdark.net/files/datagen.jpg" /><br /><br />
The good news is its really easy to do.  Even at this early stage the product
has some pretty reasonable doco on what to do to write your own generators.<br /><br /><a href="http://deepdark.net/files/AustralianDetails_20060829.zip">So my custom generator
is available for download by clicking on this link</a><br /><br />
To install it on your copy of vsdbpro: 
<br /><ol><li>
Copy the DLL from that zip into the following path on your PC: <br /><font face="Courier New" color="#000000">[Program Files]\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\</font></li><li>
Edit the config file at: 
<br /><font face="Courier New" color="#000000">[Program Files]\Microsoft Visual Studio 8\DBPro\Microsoft.VisualStudio.TeamSystem.Data.Extensions.xml</font> with
a suitable XML editor and add the following line: 
<br /><font face="Courier New" color="#000000">&lt;type&gt;deepdark.net.PersonalDetails,
AustralianDetails, Version=1.0.0.0, Culture=neutral, PublicKeyToken=341d0bd35c6f7d28&lt;/type&gt;</font><br /></li><li>
Restart Visual Studio, you should see a new generator called Personal Details in the
list.<br /></li></ol><br />
The source code is hardly going to start a revolutiuon, but I can make it available
if there is any interest - just let me know.<br /></body>
      <title>Custom Australian Data Generator for Visual Studio Team Edition for DB Pros</title>
      <guid isPermaLink="false">http://deepdark.net/PermaLink,guid,e0d41aab-6f81-47ea-9681-7c7309bab953.aspx</guid>
      <link>http://deepdark.net/PermaLink,guid,e0d41aab-6f81-47ea-9681-7c7309bab953.aspx</link>
      <pubDate>Thu, 31 Aug 2006 23:16:57 GMT</pubDate>
      <description>Hows that for a long title?&amp;nbsp; &lt;br&gt;
&lt;br&gt;
So there is a new version of Visual Studio (in &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=4014554e-903a-4a62-b429-2b027321c32d&amp;amp;DisplayLang=en"&gt;CTP
at time of writing&lt;/a&gt;) called &lt;a href="http://msdn.microsoft.com/vstudio/teamsystem/dbpro/"&gt;Visual
Studio Team Edition for Database Professionals&lt;/a&gt; - its aimed at people who might
associate themselves with the title Database Professional.&amp;nbsp; I gotta say, it looks
like a really good solution to some problems.&lt;br&gt;
&lt;br&gt;
I attended a cabana session at &lt;a href="http://www.microsoft.com/australia/teched2006/"&gt;Tech.Ed
(Tech.James?) this year&lt;/a&gt; hosted by &lt;a href="http://www.sqldownunder.com/"&gt;Greg
Low&lt;/a&gt; on data generation in the product, and during the presentation it came up
that it would be nice to have custom generator for Australian-specific data... so
I thought I'd take a stab at it.&lt;br&gt;
&lt;br&gt;
Below is a screencap of the kind of random data my generator will spit out.&amp;nbsp;
Handy for columns where a check constraint may be forcing a given format for the data.&amp;nbsp;
The format of the phone numbers is configurable by a property and the rows are conistant
for a location so that if we generate a Vic address it will have a valid Vic phone
number etc.&lt;br&gt;
&lt;br&gt;
&lt;img src="http://deepdark.net/files/datagen.jpg"&gt;
&lt;br&gt;
&lt;br&gt;
The good news is its really easy to do.&amp;nbsp; Even at this early stage the product
has some pretty reasonable doco on what to do to write your own generators.&lt;br&gt;
&lt;br&gt;
&lt;a href="http://deepdark.net/files/AustralianDetails_20060829.zip"&gt;So my custom generator
is available for download by clicking on this link&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
To install it on your copy of vsdbpro: 
&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;
Copy the DLL from that zip into the following path on your PC:&amp;nbsp;&lt;br&gt;
&lt;font face="Courier New" color=#000000&gt;[Program Files]\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\&lt;/font&gt; 
&lt;li&gt;
Edit the config file at: 
&lt;br&gt;
&lt;font face="Courier New" color=#000000&gt;[Program Files]\Microsoft Visual Studio 8\DBPro\Microsoft.VisualStudio.TeamSystem.Data.Extensions.xml&lt;/font&gt; with
a suitable XML editor and add the following line: 
&lt;br&gt;
&lt;font face="Courier New" color=#000000&gt;&amp;lt;type&amp;gt;deepdark.net.PersonalDetails, AustralianDetails,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=341d0bd35c6f7d28&amp;lt;/type&amp;gt;&lt;/font&gt;
&lt;br&gt;
&lt;li&gt;
Restart Visual Studio, you should see a new generator called Personal Details in the
list.&lt;br&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
The source code is hardly going to start a revolutiuon, but I can make it available
if there is any interest - just let me know.&lt;br&gt;</description>
      <comments>http://deepdark.net/CommentView,guid,e0d41aab-6f81-47ea-9681-7c7309bab953.aspx</comments>
      <category>Database</category>
      <category>Downloads</category>
      <category>Geeking Out!</category>
      <category>Australian Data Generator for DB Pros</category>
    </item>
  </channel>
</rss>