public CRMLookup(): base()
{
//ID for this functoid
ID = 10400;
// resource assembly must be ProjectName.ResourceName if building with VS.Net
SetupResourceAssembly("BizTalk.MapExtention.LookupFunctoid.CRMLookupResources", Assembly.GetExecutingAssembly());
//Setup the Name, ToolTip, Help Description, and the Bitmap for this functoid
SetName("IDS_CRMLOOKUP_NAME");
SetTooltip("IDS_CRMLOOKUP_TOOLTIP");
SetDescription("IDS_CRMLOOKUP_DESCRIPTION");
SetBitmap("IDS_CRMLOOKUP_BITMAP");
//category for this functoid. This functoid goes under the String Functoid Tab in the
Category = FunctoidCategory.None;
// Set the limits for the number of input parameters. This example: 1 parameter
SetMinParams(5);
SetMaxParams(5);
// Add one line of code as set out below for each input param. For multiple input params, each line would be identical.
AddInputConnectionType(ConnectionType.All); //first input
AddInputConnectionType(ConnectionType.All); //second input
AddInputConnectionType(ConnectionType.All); //third input
AddInputConnectionType(ConnectionType.All); //fourth input
AddInputConnectionType(ConnectionType.All); //five input
// The functoid output can go to any node type.
OutputConnectionType = ConnectionType.All;
// Set the function name that is to be called when invoking this functoid.
// To test the map in Visual Studio, this functoid does not need to be in the GAC.
// If using this functoid in a deployed BizTalk app. then it must be in the GAC
SetExternalFunctionName(GetType().Assembly.FullName, GetType().FullName, "CRMLookupValue");
}