Method | Description | |
---|---|---|
Sql ( string sql ) : void |
Adds an operation to execute a SQL command. Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources (such as the end user of an application). If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc.
|
|
SqlFile ( string sqlFile ) : void |
Runs the SQL found in a file.
|
Method | Description | |
---|---|---|
EfMapPath ( string seedFile ) : string |
Efs the map path.
|
public SqlFile ( string sqlFile ) : void | ||
sqlFile | string | The file the SQL can be found it relative to the application path. |
return | void |