MariaDB uses the most efficient I/O multiplexing facilities for each operating system: Windows (the I/O completion port is used internally by the native threadpool), Linux (epoll), Solaris (event ports), FreeBSD and OSX (kevent). Oracle uses optimized I/O multiplexing only on Linux, with epoll, and uses poll otherwise. 安装后,需采用 OnConfiguring 方法或 AddDbContext 方法(如果使用的是依赖关系注入容器)在 DbContext 中配置提供程序。 Once installed, you will configure the provider in your DbContext, either in the OnConfiguring method or in the AddDbContext method if you are using a dependency injection container. Our DBConvert for Excel and MySQL is a tried and proven database migration tool for Excel to MySQL/MariaDB. The Integrated Data Selector assists selecting data ranges in Excel spreadsheets -both.xls and.xlsx - (semi-)automatically.
Mariadb Exists
-->Entity Framework Core 可通过名为数据库提供程序的插件库访问许多不同的数据库。Entity Framework Core can access many different databases through plug-in libraries called database providers.
当前提供程序Current providers
重要
EF Core 提供程序由多种源生成。EF Core providers are built by a variety of sources.并非所有提供程序均作为 Entity Framework Core 项目的组成部分进行维护。Not all providers are maintained as part of the Entity Framework Core Project.考虑使用提供程序时,请务必评估质量、授权、支持等因素,确保其满足要求。When considering a provider, be sure to evaluate quality, licensing, support, etc. to ensure they meet your requirements.同时也请务必查看每个提供程序的文档,详细了解版本兼容性信息。Also make sure you review each provider's documentation for detailed version compatibility information.
重要
EF Core 提供程序通常跨次要版本工作,但不跨主要版本工作。EF Core providers typically work across minor versions, but not across major versions.例如,针对 EF Core 2.1 发布的提供程序应用于 EF Core 2.2,但不适用于 EF Core 3.0。For example, a provider released for EF Core 2.1 should work with EF Core 2.2, but will not work with EF Core 3.0.
Mariadb Workbench Osx
NuGet 程序包NuGet Package | 支持的数据库引擎Supported database engines | 维护商/供应商Maintainer / Vendor | 备注/要求Notes / Requirements | 专为版本构建Built for version | 有用的链接Useful links |
---|---|---|---|---|---|
Microsoft.EntityFrameworkCore.SqlServerMicrosoft.EntityFrameworkCore.SqlServer | SQL Server 2012 以上版本SQL Server 2012 onwards | EF Core 项目 (Microsoft)EF Core Project (Microsoft) | 5.05.0 | docsdocs | |
Microsoft.EntityFrameworkCore.SqliteMicrosoft.EntityFrameworkCore.Sqlite | SQLite 3.7 及以上版本SQLite 3.7 onwards | EF Core 项目 (Microsoft)EF Core Project (Microsoft) | 5.05.0 | docsdocs | |
Microsoft.EntityFrameworkCore.InMemoryMicrosoft.EntityFrameworkCore.InMemory | EF Core 内存中数据库EF Core in-memory database | EF Core 项目 (Microsoft)EF Core Project (Microsoft) | 限制Limitations | 5.05.0 | docsdocs |
Microsoft.EntityFrameworkCore.CosmosMicrosoft.EntityFrameworkCore.Cosmos | Azure Cosmos DB SQL APIAzure Cosmos DB SQL API | EF Core 项目 (Microsoft)EF Core Project (Microsoft) | 5.05.0 | docsdocs | |
Npgsql.EntityFrameworkCore.PostgreSQLNpgsql.EntityFrameworkCore.PostgreSQL | postgresqlPostgreSQL | Npgsql 开发团队Npgsql Development Team | 5.05.0 | docsdocs | |
Pomelo.EntityFrameworkCore.MySqlPomelo.EntityFrameworkCore.MySql | MySQL、MariaDBMySQL, MariaDB | Pomelo Foundation 项目Pomelo Foundation Project | 3.13.1 | 自述文件readme | |
MySql.EntityFrameworkCoreMySql.EntityFrameworkCore | MySQLMySQL | MySQL 项目 (Oracle)MySQL project (Oracle) | 5.05.0 | docsdocs | |
Oracle.EntityFrameworkCoreOracle.EntityFrameworkCore | Oracle DB 11.2 及更高版本Oracle DB 11.2 onwards | OracleOracle | 5.05.0 | 网站website | |
Devart.Data.MySql.EFCoreDevart.Data.MySql.EFCore | MySQL 5 及以上版本MySQL 5 onwards | DevArtDevArt | 已付Paid | 3.13.1 | docsdocs |
Devart.Data.Oracle.EFCoreDevart.Data.Oracle.EFCore | Oracle DB 9.2.0.4 及更高版本Oracle DB 9.2.0.4 onwards | DevArtDevArt | 已付Paid | 3.13.1 | docsdocs |
Devart.Data.PostgreSql.EFCoreDevart.Data.PostgreSql.EFCore | PostgreSQL 8.0 及以上版本PostgreSQL 8.0 onwards | DevArtDevArt | 已付Paid | 3.13.1 | docsdocs |
Devart.Data.SQLite.EFCoreDevart.Data.SQLite.EFCore | SQLite 3 及以上版本SQLite 3 onwards | DevArtDevArt | 已付Paid | 3.13.1 | docsdocs |
FirebirdSql.EntityFrameworkCore.FirebirdFirebirdSql.EntityFrameworkCore.Firebird | Firebird 2.5 和 3.xFirebird 2.5 and 3.x | Jiří ČinčuraJiří Činčura | 3.13.1 | docsdocs | |
IBM.EntityFrameworkCoreIBM.EntityFrameworkCore | Db2、InformixDb2, Informix | IBMIBM | 付费,WindowsPaid, Windows | 3.13.1 | 客户网站customer website |
IBM.EntityFrameworkCore-lnxIBM.EntityFrameworkCore-lnx | Db2、InformixDb2, Informix | IBMIBM | 付费,LinuxPaid, Linux | 3.13.1 | 客户网站customer website |
IBM.EntityFrameworkCore-osxIBM.EntityFrameworkCore-osx | Db2、InformixDb2, Informix | IBMIBM | 付费,macOSPaid, macOS | 3.13.1 | 客户网站customer website |
Teradata.EntityFrameworkCoreTeradata.EntityFrameworkCore | Teradata 数据库 16.10 及更高版本Teradata Database 16.10 onwards | TeradataTeradata | 3.13.1 | 网站website | |
FileContextCoreFileContextCore | 在文件中存储数据Stores data in files | Morris JanatzekMorris Janatzek | 用于开发For development purposes | 3.03.0 | 自述文件readme |
EntityFrameworkCore.JetEntityFrameworkCore.Jet | Microsoft Access 文件Microsoft Access files | BubiBubi | .NET Framework.NET Framework | 2.22.2 | 自述文件readme |
EntityFrameworkCore.SqlServerCompact35EntityFrameworkCore.SqlServerCompact35 | SQL Server Compact 3.5SQL Server Compact 3.5 | Erik Ejlskov JensenErik Ejlskov Jensen | .NET Framework.NET Framework | 2.22.2 | wikiwiki |
EntityFrameworkCore.SqlServerCompact40EntityFrameworkCore.SqlServerCompact40 | SQL Server Compact 4.0SQL Server Compact 4.0 | Erik Ejlskov JensenErik Ejlskov Jensen | .NET Framework.NET Framework | 2.22.2 | wikiwiki |
EntityFrameworkCore.FirebirdSqlEntityFrameworkCore.FirebirdSql | Firebird 2.5 和 3.xFirebird 2.5 and 3.x | Rafael AlmeidaRafael Almeida | 2.12.1 | wikiwiki | |
EntityFrameworkCore.OpenEdgeEntityFrameworkCore.OpenEdge | Progress OpenEdgeProgress OpenEdge | Alex WieseAlex Wiese | 2.12.1 | 自述文件readme |
向应用程序添加数据库提供程序Adding a database provider to your application
EF Core 的大多数数据库提供程序都是作为 NuGet 包分发的,可按如下所示安装:Most database providers for EF Core are distributed as NuGet packages, and can be installed as follows:
安装后,需采用 OnConfiguring
方法或 AddDbContext
方法(如果使用的是依赖关系注入容器)在 DbContext
中配置提供程序。Once installed, you will configure the provider in your DbContext
, either in the OnConfiguring
method or in the AddDbContext
method if you are using a dependency injection container.例如,以下行使用传递的连接字符串配置 SQL Server 提供程序:For example, the following line configures the SQL Server provider with the passed connection string:
数据库提供程序可扩展 EF Core,启用特定数据库特有的功能。Database providers can extend EF Core to enable functionality unique to specific databases.一些概念为大多数据库共有,它们包含于 EF Core 主要组件中。Some concepts are common to most databases, and are included in the primary EF Core components.此类概念包括 LINQ 中的表达查询、事务以及对象从数据库加载后的跟踪更改。Such concepts include expressing queries in LINQ, transactions, and tracking changes to objects once they are loaded from the database.另一些概念特定于具体的提供程序。Some concepts are specific to a particular provider.例如,通过 SQL Server 提供程序可配置内存优化表(SQL Server 的一种特定功能)。For example, the SQL Server provider allows you to configure memory-optimized tables (a feature specific to SQL Server).其他一些概念特定于某一类提供程序。Other concepts are specific to a class of providers.例如,用于关系数据库的 EF Core 提供程序构建于公共 Microsoft.EntityFrameworkCore.Relational
库上,该库提供的 API 可用于配置表和列映射、外键约束等。提供程序通常作为 NuGet 包分发。For example, EF Core providers for relational databases build on the common Microsoft.EntityFrameworkCore.Relational
library, which provides APIs for configuring table and column mappings, foreign key constraints, etc. Providers are usually distributed as NuGet packages.
重要
Mariadb Os X
发布 EF Core 的新补丁版本时,其中通常包含 Microsoft.EntityFrameworkCore.Relational
包的更新。When a new patch version of EF Core is released, it often includes updates to the Microsoft.EntityFrameworkCore.Relational
package.添加关系数据库提供程序时,该包将成为应用程序的传递依赖项。When you add a relational database provider, this package becomes a transitive dependency of your application.但许多提供程序是独立于 EF Core 发布的,因此可能不会更新为依赖该包的较新补丁版本。But many providers are released independently from EF Core and may not be updated to depend on the newer patch version of that package.为确保能修复所有 bug,建议将 Microsoft.EntityFrameworkCore.Relational
补丁版本添加为应用程序的直接依赖项。In order to make sure you will get all bug fixes, it is recommended that you add the patch version of Microsoft.EntityFrameworkCore.Relational
as a direct dependency of your application.
XAMPP は、MariaDB、PHP、および Perl を含む、イントールが簡単な Apache ディストリビューションです。ダウンロードして、インストラーを起動しましょう。とても簡単です。
Windows 向け XAMPP 7.3.27, 7.4.16 & 8.0.3
バージョン チェックサム サイズ 7.3.27 / PHP 7.3.27 何が含まれていますか? - md5
- sha1
154 Mb 7.4.16 / PHP 7.4.16 何が含まれていますか? - md5
- sha1
156 Mb 8.0.3 / PHP 8.0.3 何が含まれていますか? - md5
- sha1
156 Mb 含む: Apache 2.4.46, MariaDB 10.4.18, PHP 7.3.27, phpMyAdmin 5.1.0, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.108 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.0.1 Portable
含む: Apache 2.4.46, MariaDB 10.4.18, PHP 7.4.16, phpMyAdmin 5.1.0, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.108 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.0.1 Portable
含む: Apache 2.4.46, MariaDB 10.4.18, PHP 8.0.3, phpMyAdmin 5.1.0, OpenSSL 1.1.1, XAMPP Control Panel 3.2.4, Webalizer 2.23-04, Mercury Mail Transport System 4.63, FileZilla FTP Server 0.9.41, Tomcat 7.0.108 (with mod_proxy_ajp as connector), Strawberry Perl 5.32.0.1 Portable
Windows 2008, 2012, Vista, 7, 8 (Important: XP or 2003 not supported)
Windows XP or 2003 are not supported. You can download a compatible version of XAMPP for these platforms here.
Linux 向け XAMPP 7.3.27, 7.4.16 & 8.0.3
バージョン チェックサム サイズ 7.3.27 / PHP 7.3.27 何が含まれていますか? - md5
- sha1
152 Mb 7.4.16 / PHP 7.4.16 何が含まれていますか? - md5
- sha1
151 Mb 8.0.3 / PHP 8.0.3 何が含まれていますか? - md5
- sha1
152 Mb 含む: Apache 2.4.46, MariaDB 10.4.18, PHP 7.3.27 + SQLite 2.8.17/3.34.1 + multibyte (mbstring) support, Perl 5.32.1, ProFTPD 1.3.6, phpMyAdmin 5.1.0, OpenSSL 1.1.1j, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
含む: Apache 2.4.46, MariaDB 10.4.18, PHP 7.4.16 + SQLite 2.8.17/3.34.1 + multibyte (mbstring) support, Perl 5.32.1, ProFTPD 1.3.6, phpMyAdmin 5.1.0, OpenSSL 1.1.1j, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
含む: Apache 2.4.46, MariaDB 10.4.18, PHP 8.0.3 & PEAR + SQLite 2.8.17/3.34.1 + multibyte (mbstring) support, Perl 5.32.1, ProFTPD 1.3.6, phpMyAdmin 5.1.0, OpenSSL 1.1.1j, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
Most all distributions of Linux are supported, including Debian, RedHat, CentOS, Ubuntu, Fedora, Gentoo, Arch, SUSE.
OS X 向け XAMPP 7.3.27, 7.4.16, 8.0.3, 7.3.27, 7.4.16 & 8.0.3
バージョン チェックサム サイズ 7.3.27 / PHP 7.3.27 何が含まれていますか? - md5
- sha1
163 Mb 7.4.16 / PHP 7.4.16 何が含まれていますか? - md5
- sha1
163 Mb 8.0.3 / PHP 8.0.3 何が含まれていますか? - md5
- sha1
164 Mb 7.3.27 / PHP 7.3.27 何が含まれていますか? - md5
- sha1
358 Mb 7.4.16 / PHP 7.4.16 何が含まれていますか? - md5
- sha1
358 Mb 8.0.3 / PHP 8.0.3 何が含まれていますか? - md5
- sha1
358 Mb 含む: Apache 2.4.46, MariaDB 10.4.18, PHP 7.3.27 + SQLite 2.8.17/3.34.1 + multibyte (mbstring) support, Perl 5.32.1, ProFTPD 1.3.6, phpMyAdmin 5.1.0, OpenSSL 1.1.1j, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
含む: Apache 2.4.46, MariaDB 10.4.18, PHP 7.4.16 + SQLite 2.8.17/3.34.1 + multibyte (mbstring) support, Perl 5.32.1, ProFTPD 1.3.6, phpMyAdmin 5.1.0, OpenSSL 1.1.1j, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
含む: Apache 2.4.46, MariaDB 10.4.18, PHP 8.0.3 & PEAR + SQLite 2.8.17/3.34.1 + multibyte (mbstring) support, Perl 5.32.1, ProFTPD 1.3.6, phpMyAdmin 5.1.0, OpenSSL 1.1.1j, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
含む: Apache 2.4.46, MariaDB 10.4.18, PHP 7.3.27 + SQLite 2.8.17/3.34.1 + multibyte (mbstring) support, Perl 5.32.1, ProFTPD 1.3.6, phpMyAdmin 5.1.0, OpenSSL 1.1.1j, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
含む: Apache 2.4.46, MariaDB 10.4.18, PHP 7.4.16 + SQLite 2.8.17/3.34.1 + multibyte (mbstring) support, Perl 5.32.1, ProFTPD 1.3.6, phpMyAdmin 5.1.0, OpenSSL 1.1.1j, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
含む: Apache 2.4.46, MariaDB 10.4.18, PHP 8.0.3 & PEAR + SQLite 2.8.17/3.34.1 + multibyte (mbstring) support, Perl 5.32.1, ProFTPD 1.3.6, phpMyAdmin 5.1.0, OpenSSL 1.1.1j, GD 2.2.5, Freetype2 2.4.8, libpng 1.6.37, gdbm 1.8.3, zlib 1.2.11, expat 2.0.1, Sablotron 1.0.3, libxml 2.0.1, Ming 0.4.5, Webalizer 2.23-05, pdf class 0.11.7, ncurses 5.9, pdf class 0.11.7, mod_perl 2.0.11, FreeTDS 0.91, gettext 0.19.8.1, IMAP C-Client 2007e, OpenLDAP (client) 2.4.48, mcrypt 2.5.8, mhash 0.9.9.9, cUrl 7.53.1, libxslt 1.1.33, libapreq 2.13, FPDF 1.7, ICU4C Library 66.1, APR 1.5.2, APR-utils 1.5.4
アドオン
アプリケーション
XAMPP 上にお好きなアプリケーションをインストールしましょう。Bitnami は、XAMPP 上に Drupal、Joomla!、WordPress など広く使われているオープンソース アプリケーションをインストールするためのAll in Oneツールを提供しています。
OS X native modules have been deprecated. Please use XAMPP-VM for OS X and the Linux version of the add-ons. Check our FAQ for more info.