Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add MySqlClientFactory.CreateDataAdapter #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nnhy wants to merge 1 commit into mysql:6.10 from nnhy:6.10
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
View file Open in desktop
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
View file Open in desktop
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

AltStyle によって変換されたページ (->オリジナル) /