SqlCeMigrationSqlGenerator.StatementBatch(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Breaks string into one or more statements, handling T-SQL utility statements as necessary.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
protected void StatementBatch (string sqlBatch, bool suppressTransaction = false);
member this.StatementBatch : string * bool -> unit
Protected Sub StatementBatch (sqlBatch As String, Optional suppressTransaction As Boolean = false)
Parameters
- sqlBatch
- String
The SQL to split into one ore more statements to be executed.
- suppressTransaction
- Boolean
Gets or sets a value indicating whether this statement should be performed outside of the transaction scope that is used to make the migration process transactional. If set to true, this operation will not be rolled back if the migration process fails.
- Attributes
Applies to
Entity Framework