Browse files

修正 ExecuteData 的 Bug

  • Loading branch information...
1 parent c10667e commit 0e0b1df43f1e3e3f8e22084a7983ff4c712f64d0 @Ivony committed Oct 21, 2012
Showing with 10 additions and 3 deletions.
  1. +1 −1 Sources/Ivony.Data/DbUtility.cs
  2. +9 −2 Sources/Ivony.Data/Ivony.Data.csproj
View
2 Sources/Ivony.Data/DbUtility.cs
@@ -259,7 +259,7 @@ public static DataTable ExecuteData( IDbCommand command )
private static DataTable ExecuteDataPrivate( IDbCommand command )
{
- using ( IDataReader reader = command.ExecuteReader( CommandBehavior.SingleRow | CommandBehavior.SingleResult ) )
+ using ( IDataReader reader = command.ExecuteReader( CommandBehavior.SingleResult ) )
{
DataTable table = new DataTable();
View
11 Sources/Ivony.Data/Ivony.Data.csproj
@@ -9,7 +9,7 @@
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Ivony.Data</RootNamespace>
- <AssemblyName>Ivony.Data</AssemblyName>
+ <AssemblyName>DbUtility.v2</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
@@ -37,7 +37,14 @@
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
- <DocumentationFile>bin\Release\Ivony.Data.XML</DocumentationFile>
+ <DocumentationFile>bin\Release\DbUtility.v2.xml</DocumentationFile>
+ </PropertyGroup>
+ <PropertyGroup>
+ <SignAssembly>false</SignAssembly>
+ </PropertyGroup>
+ <PropertyGroup>
+ <AssemblyOriginatorKeyFile>
+ </AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />

0 comments on commit 0e0b1df

Please sign in to comment.