萬歲! 經過三天的搜索不成功,並向處處詢問這個問題:-)我試圖自己調查它,最後,我找到了一種方法來做到這一點!
看來,它是很容易手工繪製它。對於你必須讓(XML與.bdcm擴展)2點的變化在BDC模型文件:
與Office項類型的名稱添加屬性的實體必要
<Entities>
<Entity Name="AbsenceCalendar" DefaultDisplayName="AbsenceCalendar" Namespace="MyNameSpace" Version="1.0.0.0" EstimatedInstanceCount="2000">
<Properties>
<Property Name="OutlookItemType" Type="System.String">Appointment</Property>
...
</Properties>
...
地圖字段添加到Office項目類型。例如,對於約會辦公室物品類型的必填字段,它可能看起來像
<Method Name="ReadSpecificAbsenceCalendarEntity" DefaultDisplayName="Read Specific AbsenceCalendarEntity" IsStatic="false">
......
<Parameter Name="@AbsenceCalendarEntity" Direction="Return">
<TypeDescriptor Name="AbsenceCalendarEntity" DefaultDisplayName="AbsenceCalendarEntity" TypeName="Microsoft.BusinessData.Runtime.DynamicType">
<TypeDescriptors>
<TypeDescriptor Name="Title" DefaultDisplayName="Title" TypeName="System.String">
<Properties>
<Property Name="OfficeProperty" Type="System.String">Subject</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor Name="StartDate" DefaultDisplayName="StartDate" TypeName="System.DateTime">
<Properties>
<Property Name="OfficeProperty" Type="System.String">Start</Property>
</Properties>
</TypeDescriptor>
<TypeDescriptor Name="EndDate" DefaultDisplayName="EndDate" TypeName="System.DateTime">
<Properties>
<Property Name="OfficeProperty" Type="System.String">End</Property>
</Properties>
</TypeDescriptor>
.......