Data.DB.TCheckConstraint.CustomConstraint
Delphi
property CustomConstraint: string read FCustomConstraint write SetCustomConstraint;
C++
__property System::UnicodeString CustomConstraint = {read=FCustomConstraint, write=SetCustomConstraint};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | published | Data.DB.pas Data.DB.hpp |
Data.DB | TCheckConstraint |
説明
アプリケーションによってレコードに定義された制約を表す SQL テキストを格納します。
CustomConstraint プロパティを使用すると,アプリケーションがデータセットコンポーネント用に定義したチェック制約を指定する SQL テキストを格納できます。CustomConstraint は,カスタム制約はアプリケーションに対してローカルであり,アプリケーションがその変更内容をデータベースに書き込む場合はサーバーには適用されません。
メモ: カスタム制約は SQL 式です。このため,必ずピリオド(.)を浮動小数点セパレータとして使用してください。これは,Windows の地域環境設定によって異なる可能性があります。