Exemplo n.º 1
0
		/// <summary>
		/// The SQL required to remove the underlying database objects for a SequenceGenerator.
		/// </summary>
		/// <param name="dialect">The <see cref="Dialect.Dialect"/> to help with creating the sql.</param>
		/// <returns>
		/// A <see cref="String"/> that will drop the database objects for the SequenceGenerator.
		/// </returns>
		public string SqlDropString(Dialect.Dialect dialect)
		{
			return dialect.GetDropSequenceString(sequenceName);
		}
Exemplo n.º 2
0
		/// <summary>
		/// The SQL required to remove the underlying database objects for a SequenceGenerator.
		/// </summary>
		/// <param name="dialect">The <see cref="Dialect.Dialect"/> to help with creating the sql.</param>
		/// <returns>
		/// A <see cref="String"/> that will drop the database objects for the SequenceGenerator.
		/// </returns>
		public string[] SqlDropString(Dialect.Dialect dialect)
		{
			return new string[] { dialect.GetDropSequenceString(sequenceName) };
		}