FreeSql/FreeSql/DataType.cs

30 lines
989 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Text;
namespace FreeSql
{
public enum DataType {
MySql, SqlServer, PostgreSQL, Oracle, Sqlite,
OdbcOracle, OdbcSqlServer, OdbcMySql, OdbcPostgreSQL,
/// <summary>
/// 通用的 Odbc 实现,只能做基本的 Crud 操作 <para></para>
/// 不支持实体结构迁移、不支持分页(只能 Take 查询) <para></para>
///
/// 通用实现为了让用户自己适配更多的数据库,比如连接 mssql 2000、db2 等数据库<para></para>
/// 默认适配 SqlServer可以继承后重新适配 FreeSql.Odbc.Default.OdbcAdapter最好去看下代码 <para></para>
///
/// 适配新的 OdbcAdapter请在 FreeSqlBuilder.Build 之后调用 IFreeSql.SetOdbcAdapter 方法设置
/// </summary>
Odbc,
/// <summary>
/// 国产数据库达梦
/// </summary>
OdbcDameng,
}
}