다음을 통해 공유


IsBuiltInColumn Method

Helper to determine if a column is marked as a built in database column.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Shared Function IsBuiltInColumn ( _
    columnName As String _
) As Boolean
'Usage
Dim columnName As String
Dim returnValue As Boolean

returnValue = CatalogPricingRulesDataSetSchema.IsBuiltInColumn(columnName)
public static bool IsBuiltInColumn(
    string columnName
)
public:
static bool IsBuiltInColumn(
    String^ columnName
)
public static function IsBuiltInColumn(
    columnName : String
) : boolean

Parameters

Return Value

Type: System..::.Boolean
true to indicate columnName is a built in column; otherwise, false.

Remarks

Used to determine if a column is marked as a built in the CatalogPricingRules database column.

This method does not report a built in column at the catalog system level.

For example;

CatalogPricingRulesDataSetSchema.IsBuiltInColumn("CatalogName") will return true since "CatalogName" is a built in property in the CatalogPricingRulesDataSet.

However, CatalogPropertiesDataSetSchema.IsBuiltInColumn("CatalogName") will return false since "CatalogName" is not a build in property in the CatalogPropertiesDataSet.

The following catalog database columns in the PricingRules table are marked built in:

  • CatalogName

  • CatalogPricingRuleType

  • CategoryName

  • DisplayName

  • PriceChange

  • ProductId

  • VariantId

Permissions

See Also

Reference

CatalogPricingRulesDataSetSchema Class

CatalogPricingRulesDataSetSchema Members

Microsoft.CommerceServer.Catalog Namespace