ADO.NET Provider for Bcart

Build 23.0.8839

Points

Points テーブルからデータを返します。

Select

本製品 は Bcart API を使用して、以下のカラムと演算子で構築されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドで本製品 内部で処理されます。

  • ほとんどのカラムは次の演算子をサポートしています:<、>、<=、>=、=、!=、IN、NOT_IN。
例えば、次のクエリはサーバーサイドで処理されます。
    SELECT * FROM Points WHERE Status = 'Sample Status'
    SELECT * FROM Points WHERE Id IN (1, 10)
    SELECT * FROM Points WHERE UpdatedAt <= '2019-09-26 09:20:45'

Insert

Points を追加するには、CustomerId、Point、Status、および読み取り専用ではないカラムを指定します。

    INSERT INTO Points (CustomerId, Point, Status) VALUES (12345, 10, 'Sample Status')

Bulk Insert


    INSERT INTO Points#TEMP (CustomerId, Point, Status) VALUES (12345, 10, 'Sample Status')
    INSERT INTO Points#TEMP (CustomerId, Point, Status) VALUES (12346, 10, 'Sample Status')
    INSERT INTO Points (CustomerId, Point, Status) SELECT CustomerId, Point, Status FROM Points#TEMP

Update

Bcart は、CustomerId、Point、および読み取り専用ではないカラムの更新を許可します。

    UPDATE Points SET Point = 10 WHERE Id = 2

Bulk Update


    INSERT INTO Points#TEMP (Id, Point) VALUES (1, 10)
    INSERT INTO Points#TEMP (Id, Point) VALUES (2, 20)
    UPDATE Points (Id, Point) SELECT Id, Point FROM Points#TEMP

Delete

Delete はこのテーブルではサポートされていません。

Columns

Name Type ReadOnly Description
Id [KEY] Integer True

CustomerId Integer False

OrderId Integer False

SubjectId Integer False

Point Integer False

Status String False

ActivatedAt Datetime False

CreatedAt Datetime False

UpdatedAt Datetime False

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839