@@ -717,28 +717,28 @@ public virtual string GenerateTemporaryTableName(string baseTableName)
717
717
718
718
/// <summary>
719
719
/// Does the dialect require that temporary table DDL statements occur in
720
- /// isolation from other statements? This would be the case if the creation
720
+ /// isolation from other statements? This would be the case if the creation
721
721
/// would cause any current transaction to get committed implicitly.
722
- /// </summary>
723
- /// <returns> see the result matrix above. </returns>
722
+ /// </summary>
723
+ /// <returns>See the result matrix in the remarks. </returns>
724
724
/// <remarks>
725
- /// JDBC defines a standard way to query for this information via the
726
- /// {@link java.sql.DatabaseMetaData#dataDefinitionCausesTransactionCommit()}
727
- /// method. However, that does not distinguish between temporary table
728
- /// DDL and other forms of DDL; MySQL, for example, reports DDL causing a
729
- /// transaction commit via its driver, even though that is not the case for
730
- /// temporary table DDL.
731
- /// <p/>
732
- /// Possible return values and their meanings:<ul>
733
- /// <li>{@link Boolean#TRUE} - Unequivocally, perform the temporary table DDL in isolation.</li>
734
- /// <li>{@link Boolean#FALSE} - Unequivocally, do <b>not</b> perform the temporary table DDL in isolation.</li>
735
- /// <li><i>null</i> - defer to the JDBC driver response in regards to {@link java.sql.DatabaseMetaData#dataDefinitionCausesTransactionCommit()}</li>
736
- /// </ul>
725
+ /// Possible return values and their meanings:
726
+ /// <list type="bullet">
727
+ /// <item>
728
+ /// <term><see langword="true" /></term>
729
+ /// <description>Unequivocally, perform the temporary table DDL in isolation.</description>
730
+ /// </item>
731
+ /// <item>
732
+ /// <term><see langword="false" /></term>
733
+ /// <description>Unequivocally, do <b>not</b> perform the temporary table DDL in isolation.</description>
734
+ /// </item>
735
+ /// <item>
736
+ /// <term><see langword="null" /></term>
737
+ /// <description>Defer to <see cref="Cfg.Settings.IsDataDefinitionImplicitCommit" />.</description>
738
+ /// </item>
739
+ /// </list>
737
740
/// </remarks>
738
- public virtual bool ? PerformTemporaryTableDDLInIsolation ( )
739
- {
740
- return null ;
741
- }
741
+ public virtual bool ? PerformTemporaryTableDDLInIsolation ( ) => null ;
742
742
743
743
/// <summary> Do we need to drop the temporary table after use? </summary>
744
744
public virtual bool DropTemporaryTableAfterUse ( )
@@ -2471,6 +2471,9 @@ public virtual string CreateTemporaryTableString
2471
2471
get { return "create table" ; }
2472
2472
}
2473
2473
2474
+ /// <summary>Command used to drop a temporary table.</summary>
2475
+ public virtual string DropTemporaryTableString => "drop table" ;
2476
+
2474
2477
/// <summary>
2475
2478
/// Get any fragments needing to be postfixed to the command for
2476
2479
/// temporary table creation.
0 commit comments