By dragging a single field, the addin will insert into the dragged position of the document a single field declaration.

The text inserted will start with the Field Prefix (will use "public const string " if no prefix defined). The field name defined in Pivotal will then be generated, removing any defined prefixes and capatilising accordingly. Any suffix will be ammend to the constant name. Finally, the field, as defined in Pivotal (including capitalisation) will be define the value for the constant.

For example, for the primary key on the Action_Plan table, the following will be generated, assuming the capitalise flag is set.

public const string ACTION_PLAN_ID = "Action_Plan_Id";

Last edited Sep 26, 2008 at 12:37 PM by PivDev, version 1

Comments

No comments yet.