The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
HistoryContext Constructor (DbConnection^, String^)
Entity Framework 6.0
Initializes a new instance of the HistoryContext class. If you are creating a derived history context you will generally expose a constructor that accepts these same parameters and passes them to this base constructor.
Assembly: EntityFramework (in EntityFramework.dll)
public: [SuppressMessageAttribute("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] HistoryContext( DbConnection^ existingConnection, String^ defaultSchema )
Parameters
- existingConnection
-
Type:
System.Data.Common::DbConnection^
An existing connection to use for the new context.
- defaultSchema
-
Type:
System::String^
The default schema of the model being migrated. This schema will be used for the migrations history table unless a different schema is configured in OnModelCreating.
Show: