Реферат: Введение в ObjectSpaces

<m:Relationship Name="Customers_Orders"

FromVariable="Customers" ToVariable="Orders">

<m:FieldJoin From="CustomerID" To="CustomerID" />

</m:Relationship>

</m:DataSource>

<m:DataSource Name="DataTypesOSD" Type="Object" Direction="Target">

<m:Schema Location="OSD.XML" />

</m:DataSource>

</m:DataSources>

<m:Mappings>

<m:Map SourceVariable="Customers"

TargetSelect="Rsdn.Samples.Northwind.Customer">

<m:FieldMap SourceField="CustomerID" TargetField="CustomerID" />

<m:FieldMap SourceField="CompanyName" TargetField="Company" />

<m:FieldMap SourceField="ContactName" TargetField="Name" />

<m:FieldMap SourceField="Phone" TargetField="Phone" />

</m:Map>

<m:Map SourceVariable="Orders"

TargetSelect="Rsdn.Samples.Northwind.Order">

<m:FieldMap SourceField="OrderID" TargetField="_orderID" />

<m:FieldMap SourceField="OrderDate" TargetField="OrderDate" />

<m:FieldMap SourceField="RequiredDate" TargetField="RequiredDate" />

<m:FieldMap SourceField="ShippedDate" TargetField="ShippedDate" />

<m:FieldMap SourceField="EmployeeID"

TargetField="EmployeeID" NullValue="-1" />

<m:FieldMap SourceField="Freight" TargetField="Freight" />

</m:Map>

<m:RelationshipMap Source="Customers_Orders" Target="Customers_Orders" />

</m:Mappings>

К-во Просмотров: 830
Бесплатно скачать Реферат: Введение в ObjectSpaces