DbContextInfo 构造函数
包括受保护的成员
包括继承的成员
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
初始化 DbContextInfo 类的新实例。
重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。
重载列表
名称 | 描述 | |
---|---|---|
DbContextInfo(Type) | 使用指定上下文类型初始化 DbContextInfo 类的新实例。 | |
DbContextInfo(Type, Configuration) | 使用指定上下文类型和配置文件初始化 DbContextInfo 类的新实例。 | |
DbContextInfo(Type, ConnectionStringSettingsCollection) | 已过时。 通过使用指定上下文类型和连接字符串的设置来初始化 DbContextInfo 类。 | |
DbContextInfo(Type, DbConnectionInfo) | 使用指定上下文类型和连接信息初始化 DbContextInfo 类的新实例。 | |
DbContextInfo(Type, DbProviderInfo) | 使用指定上下文类型和提供程序信息初始化 DbContextInfo 类的新实例。 | |
DbContextInfo(Type, Configuration, DbConnectionInfo) | 使用指定连接信息、上下文类型和配置文件初始化 DbContextInfo 类的新实例。 | |
DbContextInfo(Type, Configuration, DbProviderInfo) | 使用指定上下文类型、配置文件和提供程序信息初始化 DbContextInfo 类的新实例。 |
顶部