title: BLToolkit + T4 generation + MySQL database
body: <p>I receive an exception running my T4 template:</p>
  
  <pre><code>Running transformation: System.ArgumentNullException: Value cannot be null.
  Parameter name: type
     at System.Activator.CreateInstance(Type type, Boolean nonPublic)
     at Microsoft.VisualStudio.TextTemplatingB9C41E12E53D4F3972EB874C0B96FDFD.GeneratedTextTransformation.GetConnection()
     at Microsoft.VisualStudio.TextTemplatingB9C41E12E53D4F3972EB874C0B96FDFD.GeneratedTextTransformation.LoadServerMetadata()
     at Microsoft.VisualStudio.TextTemplatingB9C41E12E53D4F3972EB874C0B96FDFD.GeneratedTextTransformation.LoadMetadata()
     at Microsoft.VisualStudio.TextTemplatingB9C41E12E53D4F3972EB874C0B96FDFD.GeneratedTextTransformation.GenerateModel()
     at Microsoft.VisualStudio.TextTemplatingB9C41E12E53D4F3972EB874C0B96FDFD.GeneratedTextTransformation.TransformText()
     at Microsoft.VisualStudio.TextTemplating.TransformationRunner.RunTransformation(TemplateProcessingSession session, String source, ITextTemplatingEngineHost host, String&amp; result)
  </code></pre>
  
  <p>this is my T4 file:   </p>
  
  <pre><code>&lt;#@ template language="C#v3.5"         #&gt;
  &lt;#@ output extension=".generated.cs"   #&gt;
  &lt;#@ include file="BLToolkit.ttinclude" #&gt;
  &lt;#@ include file="MySql.ttinclude"    #&gt;
  &lt;#
      ConnectionString     = "Server=localhost;Port=3306;Database=accounting;Uid=root;pwd=1;";
      DataProviderAssembly = @"D:\Temp\BLToolKitMySql\BLToolKitMySql\mysql.data.dll";
  
      Namespace       = "BLToolKitMySql";
      DataContextName = "DataModel";
      GenerateModel();
  #&gt;
  </code></pre>
  
  <p>I added all references like: BLtoolkit.3 , Bltoolkit.Data.DataProvider.MySql3 , mysql.data , sys.data.linq and MySqlDataProvider.cs </p>