<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/csharpdatatier/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/csharpdatatier/bugs/</id><updated>2013-05-26T16:27:44.160000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Small bug in CsGenerator class</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/16/" rel="alternate"/><published>2013-05-26T16:27:44.160000Z</published><updated>2013-05-26T16:27:44.160000Z</updated><author><name>agamia</name><uri>https://sourceforge.net/u/agamia/</uri></author><id>https://sourceforge.net2f411a0467d9183aa00f5ea768229e3f5a9aa9d1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your wonderful tool.&lt;/p&gt;
&lt;p&gt;I've found a small bug near line 182 of the file CsGenerator.cs&lt;/p&gt;
&lt;p&gt;streamWriter.WriteLine("\t\t\tthis." + Utility.FormatCamel(column.Name) + &lt;br /&gt;
    " = " + Utility.FormatCamel(column.Name) + ";");&lt;/p&gt;
&lt;p&gt;but it should be:&lt;br /&gt;
streamWriter.WriteLine("\t\t\tthis." + Utility.FormatPascal(column.Name) + &lt;br /&gt;
    " = " + Utility.FormatCamel(column.Name) + ";");&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CreateMockClass namespace</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/15/" rel="alternate"/><published>2009-02-04T14:20:54Z</published><updated>2009-02-04T14:20:54Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net568ae7564776e8558628a45df40cfb0e8b550268</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;version 4.3&lt;/p&gt;
&lt;p&gt;namespace MyNamespace..Mock&lt;/p&gt;
&lt;p&gt;bug: streamWriter.WriteLine("namespace " + targetNamespace + "." + daoSuffix + ".Mocks");&lt;/p&gt;
&lt;p&gt;fix: streamWriter.WriteLine("namespace " + targetNamespace + (daoSuffix == string.Empty ? string.Empty : "." + daoSuffix) + ".Mocks");&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CreateDataAccessClass namespace error</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/14/" rel="alternate"/><published>2009-02-04T13:38:42Z</published><updated>2009-02-04T13:38:42Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net06e905541798b92f0d344974431429e5755e394f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;when u don't write a DAO Suffix u get this in the generated code:&lt;/p&gt;
&lt;p&gt;namespace MyNamspace.&lt;/p&gt;
&lt;p&gt;VS display error: 'Indentifier expected'&lt;/p&gt;
&lt;p&gt;bug: streamWriter.WriteLine("namespace " + targetNamespace + "." + daoSuffix);&lt;/p&gt;
&lt;p&gt;fix: streamWriter.WriteLine("namespace " + targetNamespace + (daoSuffix == string.Empty ? string.Empty : "." + daoSuffix));&lt;/p&gt;
&lt;p&gt;this eliminate the '.' at the end of the namespace.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Too many open connections in DB</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/13/" rel="alternate"/><published>2007-09-06T08:14:22Z</published><updated>2007-09-06T08:14:22Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netccb84648cb01475fb517821a45a8be92b90c5970</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;All the connections caused by SQL ExecuteReader are not closed. So the Connection Pool of the SQL Server can exceed the limit.&lt;/p&gt;
&lt;p&gt;Example actually:&lt;/p&gt;
&lt;p&gt;public static Table Select(short table_ID) &lt;br /&gt;
{&lt;br /&gt;
using (SqlDataReader dataReader = SqlClientUtility.ExecuteReader("tablesSelect", table_ID))&lt;br /&gt;
{&lt;br /&gt;
if (dataReader.Read()) {&lt;br /&gt;
return MakeTable(dataReader);&lt;br /&gt;
} else {&lt;br /&gt;
return null;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Should be:&lt;/p&gt;
&lt;p&gt;public static Table Select(short table_ID) &lt;br /&gt;
{&lt;br /&gt;
using (SqlDataReader dataReader = SqlClientUtility.ExecuteReader("tablesSelect", table__ID)) &lt;br /&gt;
{&lt;br /&gt;
if (dataReader.Read()) {&lt;br /&gt;
Table returnTable = MakeTable(dataReader);&lt;br /&gt;
dataReader.Close();&lt;br /&gt;
return returnTable ;&lt;br /&gt;
} else {&lt;br /&gt;
return null;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Double for Float</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/12/" rel="alternate"/><published>2007-04-13T14:51:37Z</published><updated>2007-04-13T14:51:37Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net2afa590bbad739a492870d19a89a5af04b881ba9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There is a type descrepency when a float data type is found in the database.&lt;/p&gt;
&lt;p&gt;The fields are established as Double but the make method uses GetFloat which throws an invalid cast exception.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Xml Datatype not supported</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/11/" rel="alternate"/><published>2007-03-23T21:32:06Z</published><updated>2007-03-23T21:32:06Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net797d53529085a178217ccd1f40d68ce38aa0f1aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The Xml datatype for sql server 2005 is not included in the types list.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>C# Class Generation Not Including the requested SP Prefix</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/10/" rel="alternate"/><published>2007-03-20T21:07:15Z</published><updated>2007-03-20T21:07:15Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net255d0cfd39615c30186029a3d9a9cbc932abf7cb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;On version 4.2 the following methods in the C# classes are not including the requested stored procedure prefix in the ExecuteNonQuery call.&lt;/p&gt;
&lt;p&gt;Insert&lt;br /&gt;
Update&lt;br /&gt;
Delete&lt;br /&gt;
Select&lt;br /&gt;
SelectAll&lt;/p&gt;
&lt;p&gt;Thanks for the great work, this is going to save me lots of time.&lt;/p&gt;
&lt;p&gt;Marc&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>bad zip</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/9/" rel="alternate"/><published>2006-03-13T12:26:56Z</published><updated>2006-03-13T12:26:56Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netd24c4cbb6c069b6e60aceb3a5edb15326627571a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;the zip is corupted&lt;br /&gt;
!   \\Galx\datastor\Downloads\DataTierGenerator.zip: &lt;br /&gt;
Unexpected end of archive&lt;/p&gt;
&lt;p&gt;ofergal@gmail.com&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Stream: Parameter can\'t be null! error</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/8/" rel="alternate"/><published>2005-04-03T14:25:23Z</published><updated>2005-04-03T14:25:23Z</updated><author><name>AleksandarPopov</name><uri>https://sourceforge.net/u/aleksandarpopov/</uri></author><id>https://sourceforge.net021b4849ec346d8a5945a5fd5016528974c0177b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Can somebody help me?&lt;br /&gt;
When I try to run the application I got this message&lt;br /&gt;
Stream: Parameter can't be null!&lt;br /&gt;
What can I do?&lt;br /&gt;
How to fix the problem?&lt;br /&gt;
Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Version 2.1.1 (Stored Proc Naming)</title><link href="https://sourceforge.net/p/csharpdatatier/bugs/7/" rel="alternate"/><published>2005-01-28T06:21:47Z</published><updated>2005-01-28T06:21:47Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net0e9aa40852819e1ef255ba449edc2cdb240c1355</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;the C# code that gets generated uses the method name &lt;br /&gt;
as the stored procedure name - instead it's supposed to &lt;br /&gt;
use the "procedureName" string on line 390 in &lt;br /&gt;
method "CreateSelectByMethods" - "CsGenerator.cs".&lt;/p&gt;
&lt;p&gt;another problem is some of the SQL procedures are &lt;br /&gt;
named diffrent than the stored procedure name(S) in &lt;br /&gt;
the generated C# code. &lt;br /&gt;
so i get a stored procedure X does not exist error.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>