拡張属性
ビジネス・モデル・ステートメントで、外部データを使用して、ビジネス・モデルに定義したエンティティー属性を拡張できます。
ビジネス・モデル定義で、エンティティー、その属性、およびデータ・プロバイダーを定義します。
ビジネス・モデル・ステートメントでは、拡張する属性と、属性の拡張に使用されるデータのソースであるデータ・プロバイダーを指定します。

- バインド・エンティティーのタイプ。
- 属性の拡張に使用されるデータのソースであるデータ・プロバイダー。
- バインド・エンティティーの属性。
- 属性を拡張するバインド・エンティティー。
- 拡張する属性。
1 つ以上の属性を使用して、エンティティーをデータ・プロバイダーにリンクすることができます。
制約事項: 集約演算子および現在時刻演算子の使用はサポートされません。
例
この例では、airport エンティティーおよび外部天気データ・プロバイダーが、ビジネス・モデル定義で定義されています。
an airport is a business entity identified by an IATA code with
a latitude (a number),
a longitude (a number),
a precipitation level (a number),
a wind speed (a number),
a temperature (a number).
a weather provider is a data provider,
accepts a longitude (numeric) and a latitude (numeric),
returns a temperature (numeric), a wind speed (numeric) and a precipitation (numeric).
ビジネス・モデル・ステートメントで、airport エンティティーの temperature、wind speed、および precipitation level の各属性が、天気プロバイダーを使用して拡張されています。an airport is enriched by the weather provider,
given the latitude from the latitude of this airport
and the longitude from the longitude of this airport,
setting the temperature to the temperature of this weather provider,
the wind speed to the wind speed of this weather provider
and the precipitation level to the precipitation of this weather provider.