Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
################################################################################
# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。
################################################################################

/.vs
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/
/packages
*.user
/Data
/Log
/NewLife.Cube/Config
/NewLife.Cube/Plugins
*.log
*.htm
*.nuspec
*.nupkg
/NewLife.Core.Core/project.lock.json
/Backup
/ConsoleApp1
/NewLife.Cube4/Config
/NewLife.Cube4/Content
/NewLife.Cube4/Plugins
/XCode/Membership/Config
/XCode/Sharding/Config
/XCode/Demo/Config
/XCode/Membership
/Keys
/Avatars
/MySQL.Data/.vs/MySql.Data/v15
/Tests/MySql.EntityFramework.Basic.Tests
25 changes: 17 additions & 8 deletions MySQL.Data/src/MySqlClientFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2004, 2016 Oracle and/or its affiliates. All rights reserved.
// Copyright ?2004, 2016 Oracle and/or its affiliates. All rights reserved.
//
// MySQL Connector/NET is licensed under the terms of the GPLv2
// <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
Expand Down Expand Up @@ -61,13 +61,22 @@ public override DbCommand CreateCommand()
public override DbConnection CreateConnection()
{
return new MySqlConnection();
}

/// <summary>
/// Returns a strongly typed <see cref="DbParameter"/> instance.
/// </summary>
/// <returns>A new strongly typed instance of <b>DbParameter</b>.</returns>
public override DbParameter CreateParameter()
}

/// <summary>
/// Returns a strongly typed <see cref="DbDataAdapter"/> instance.
/// </summary>
/// <returns>A new strongly typed instance of <b>DbDataAdapter</b>.</returns>
public override DbDataAdapter CreateDataAdapter()
{
return new MySqlDataAdapter();
}

/// <summary>
/// Returns a strongly typed <see cref="DbParameter"/> instance.
/// </summary>
/// <returns>A new strongly typed instance of <b>DbParameter</b>.</returns>
public override DbParameter CreateParameter()
{
return new MySqlParameter();
}
Expand Down