Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

How to find all usages of a logical type
xomega
#1 Posted : Friday, July 27, 2012 6:49:58 PM(UTC)
xomega



In order to find all places where your logical type is being used in the model, you can right-click on the type or any of its usages in the Xomega XML editor and select the Find References menu. The references will be displayed in a separate pane. You can double-click on any of them to jump to the appropriate place.

If your type is not used anywhere in the model, the system will display a warning to alert you of this fact. If you intend for your type to be generic that may be referenced later on, then you can avoid this warning by setting the generic attribute to true on the type's usage as follows:
Code:
<type name="memo" base="string">
  <config>
    <usage generic="true"/>
    <sql:type name="nvarchar(max)" db="sqlsrv"/>
  </config>
  <doc>
    <summary>A large text that can be over 4000 characters long.</summary>
  </doc>
</type>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.