Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

System.Data.Entity.Migrations.Sql Namespace


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


Common base class for providers that convert provider agnostic migration operations into database provider specific SQL commands.


Represents 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.

Return to top
© 2015 Microsoft