EfMigratorSettings Class

Summary

Contains settings for working with EntityFramework6 EfAliases.
Namespace
Cake.EntityFramework.CakeTranslation
Base Types
  • object
graph TD Base0["object"]-->Type Type["EfMigratorSettings"] class Type type-node

Syntax

public class EfMigratorSettings

Properties

Name Value Summary
AllowDataLossOnMigrations bool
Gets or sets a flag to allow data to be lost on a migration. This is the same as the '-force' flag when running migrations through visual studio.
AppConfigPath DirectoryPath
Gets or sets the app.config path.
AssemblyPath DirectoryPath
Gets or sets the assembly path.
ConfigurationClass string
Gets or sets the configuration class.
ConnectionName string
The name of the connection string in the configuration file. This can be used to load the connection string and provider.
ConnectionProvider string
Gets or sets the connection provider.
ConnectionString string
Gets or sets the connection string.