/// <summary>
		/// Load an object by a given symbolic name.
		/// </summary>
		public static CustomerCompanyProperty GetBySymbolicName(
			string symbolicName )
		{
			DataRow row = AdoNetSqlHelper.ExecuteRow(
				"GetCustomerCompanyPropertyBySymbolicName",
				new AdoNetSqlParamCollection(
				AdoNetSqlParamCollection.CreateParameter( "@SymbolicName", symbolicName )
				) );

			if ( row == null )
			{
				return null;
			}
			else
			{
				CustomerCompanyProperty o = new CustomerCompanyProperty();
				o.Load( row );

				if ( o.IsEmpty )
				{
					return null;
				}
				else
				{
					return o;
				}
			}
		}
		/// <summary>
		/// Load all for the given parent.
		/// </summary>
		public static CustomerCompanyProperty[] GetForCustomerCompany(
			CustomerCompany parentObject )
		{
			DataTable table = AdoNetSqlHelper.ExecuteTable(
				"GetCustomerCompanyPropertyByCustomerCompanyID",
				new AdoNetSqlParamCollection(
				AdoNetSqlParamCollection.CreateParameter( "@ID", parentObject.ID )
				) );

			if ( table == null )
			{
				return null;
			}
			else
			{
				ArrayList result = new ArrayList();

				foreach ( DataRow row in table.Rows )
				{
					CustomerCompanyProperty o = new CustomerCompanyProperty();
					o.Load( row );

					if ( !o.IsEmpty )
					{
						result.Add( o );
					}
				}

				if ( result.Count <= 0 )
				{
					return null;
				}
				else
				{
					return (CustomerCompanyProperty[])result.ToArray(
						typeof( CustomerCompanyProperty ) );
				}
			}
		}
		/// <summary>
		/// Load all.
		/// </summary>
		public static CustomerCompanyProperty[] GetAll()
		{
			DataTable table = AdoNetSqlHelper.ExecuteTable(
				"GetAllCustomerCompanyProperties",
				new AdoNetSqlParamCollection(
				) );

			if ( table == null )
			{
				return null;
			}
			else
			{
				ArrayList result = new ArrayList();

				foreach ( DataRow row in table.Rows )
				{
					CustomerCompanyProperty o = new CustomerCompanyProperty();
					o.Load( row );

					if ( !o.IsEmpty )
					{
						result.Add( o );
					}
				}

				if ( result.Count <= 0 )
				{
					return null;
				}
				else
				{
					return (CustomerCompanyProperty[])result.ToArray(
						typeof( CustomerCompanyProperty ) );
				}
			}
		}