Export (0) Print
Expand All

System.Data.Entity.Migrations.Sql Namespace

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

The System.Data.Entity.Migrations.Sql namespace provides classes for converting provider agnostic migrations into SQL commands.

Public classMigrationSqlGeneratorCommon base class for providers that convert provider agnostic migration operations into database provider specific SQL commands.
Public classMigrationStatementRepresents a migration operation that has been translated into a SQL statement. 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.
© 2015 Microsoft