The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SqlServerMigrationSqlGenerator::StatementBatch Method (String^, Boolean)
Entity Framework 6.0
Breaks sql string into one or more statements, handling T-SQL utility statements as necessary.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
protected: [SuppressMessageAttribute("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")] void StatementBatch( String^ sqlBatch, bool suppressTransaction = false )
Parameters
- sqlBatch
-
Type:
System::String^
The SQL to split into one ore more statements to be executed.
- suppressTransaction
-
Type:
System::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.
Show: