Ejemplo n.º 1
0
		/// <summary>
		/// Alter the column
		/// </summary>
		/// <param name="sOldColumnName">Old column name</param>
		/// <param name="column">New column description</param>
		/// <returns>True for success</returns>
		public bool AlterColumn( string sOldColumnName, VistaDBNewColumn column )
		{
			return AlterColumn(sOldColumnName, column.Name, column.Type, column.Length,
				column.Decimals, column.Required, column.ReadOnly, column.Packed, column.Hidden,
				column.Encrypted, column.Unicode);
		}
Ejemplo n.º 2
0
		/// <summary>
		/// Create new column
		/// </summary>
		/// <param name="column">Column description object</param>
		public void CreateColumn(VistaDBNewColumn column)
		{
			CreateColumn(column.Name, column.Type, column.Length, column.Decimals,
				column.Required, column.ReadOnly, column.Packed, column.Hidden,
				column.Encrypted, column.Unicode);
		}