DB 类
- 命名空间
- ShadowSql.Identifiers
- 程序集
- ShadowSql.Core.dll
库名对象
public sealed class DB : Identifier, IDB, IIdentifier, IMatch, ISqlEntity
- 继承
-
DB
- 实现
- 继承成员
构造函数
DB(string)
库名对象
public DB(string name)
参数
name
string
方法
From(string)
获取表
public Table From(string tableName)
参数
tableName
string
返回
Use(string)
获取数据库 已缓存,避免重复构造
public static DB Use(string name)
参数
name
string