SQLProvider

常规F# SQL数据库擦除类型提供程序,支持LINQ查询,模式探索,个人,CRUD操作等等。(A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides.)

Github星跟踪图

Issue Stats
Issue Stats

SQLProvider NuGet Status

Join the chat at https://gitter.im/fsprojects/SQLProvider

A general .NET/Mono SQL database type provider. Current features :

  • LINQ queries
  • Lazy schema exploration
  • Automatic constraint navigation
  • Individuals
  • Transactional CRUD operations with identity support
  • Two-way data binding
  • Stored Procedures
  • Functions
  • Packages (Oracle)
  • Composable Query integration
  • Optional option types
  • Mapping to record types
  • Custom Operators
  • Supports Asynchronous Operations
  • Supports .NET Standard / .NET Core

The provider currently has explicit implementations for the following database vendors :

  • SQL Server
  • SQLite
  • PostgreSQL
  • Oracle
  • MySQL (& MariaDB)
  • MsAccess
  • Firebird

There is also an ODBC provider that will let you connect to any ODBC source with limited features.

Documentation

Core documentation and samples can be found at the
SQLProvider home page. This
documentation is generated from
docs/content/,
so please feel free to submit a pull request if you have fixed typos are added
additional samples and documentation!

Building

  • Mono: Run build.sh Mono build status
  • Windows: Run build.cmd Build status

Known issues

  • Database vendors other than SQL Server and Access use dynamic assembly loading. This
    may cause some security problems depending on your system's configuration and
    which version of the .NET framework you are using. If you encounter problems
    loading dynamic assemblies, they can likely be resolved by applying the
    following element into the configuration files of fsi.exe, devenv.exe and
    your program or the program using your library : http://msdn.microsoft.com/en-us/library/dd409252(VS.100).aspx

Example

No OR-mapping: FSharp compiles your database to .NET-types.

Maintainer(s)

The default maintainer account for projects under "fsprojects" is @fsprojectsgit - F# Community Project Incubation Space (repo management)

主要指标

概览
名称与所有者fsprojects/SQLProvider
主编程语言F#
编程语言Shell (语言数: 6)
平台
许可证Other
所有者活动
创建于2013-12-09 19:23:39
推送于2025-04-21 09:28:48
最后一次提交2025-04-09 09:02:06
发布数91
最新版本名称1.5.0-alpha3 (发布于 )
第一版名称v1.0.2 (发布于 )
用户参与
星数596
关注者数44
派生数146
提交数2.1k
已启用问题?
问题数514
打开的问题数132
拉请求数300
打开的拉请求数1
关闭的拉请求数28
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?