Partager via


IsBuiltInColumn Method

Helper to determine if a column 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 = InventorySkusDataSetSchema.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 InventorySkus database column.

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

For example;

InventorySkusDataSetSchema.IsBuiltInColumn("BackorderAvailabilityDate") will return true since "BackorderAvailabilityDate" is a built in property in the InventrySkusDataSet.

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

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

  • BackorderAvailabilityDate

  • BackorderLimit

  • Backorderable

  • BackorderedQuantity

  • ExcessOnHandQuantity

  • InventoryCatalogName

  • LastModified

  • LastRestocked

  • Memo

  • Oid

  • OnHandQuantity

  • PreorderAvailabilityDate

  • PreorderLimit

  • Preorderable

  • PreorderedQuantity

  • ProductCatalogName

  • ProductId

  • ReorderPoint

  • Status

  • StockOutThreshold

  • TargetQuantity

  • TimeStamp

  • UnitOfMeasure

  • VariantId

Permissions

See Also

Reference

InventorySkusDataSetSchema Class

InventorySkusDataSetSchema Members

Microsoft.CommerceServer.Catalog Namespace