Beispiel #1
0
 /// <summary>
 /// The SQL required to remove the underlying database objects for a TableGenerator.
 /// </summary>
 /// <param name="dialect">The <see cref="Dialect"/> to help with creating the sql.</param>
 /// <returns>
 /// A <see cref="String"/> that will drop the database objects for the TableGenerator.
 /// </returns>
 public string SqlDropString(Dialect.Dialect dialect)
 {
     return dialect.GetDropTableString(tableName);
 }
		/// <summary>
		/// The SQL required to remove the underlying database objects for a TableGenerator.
		/// </summary>
		/// <param name="dialect">The <see cref="Dialect"/> to help with creating the sql.</param>
		/// <returns>
		/// A <see cref="string"/> that will drop the database objects for the TableGenerator.
		/// </returns>
		public virtual string[] SqlDropString(Dialect.Dialect dialect)
		{
			return new[] {dialect.GetDropTableString(tableName)};
		}