/// <summary> /// Initializes a new instance of the <see cref="UPCRMLinkReader"/> class. /// </summary> /// <param name="recordIdentification"> /// The record identification. /// </param> /// <param name="parentLinkString"> /// The parent link string. /// </param> /// <param name="theDelegate"> /// The the delegate. /// </param> public UPCRMLinkReader( string recordIdentification, string parentLinkString, UPCRMLinkReaderDelegate theDelegate) : this(recordIdentification, parentLinkString, UPRequestOption.BestAvailable, theDelegate) { }
/// <summary> /// Initializes a new instance of the <see cref="UPCRMLinkReader"/> class. /// </summary> /// <param name="recordIdentification"> /// The record identification. /// </param> /// <param name="parentLinkString"> /// The parent link string. /// </param> /// <param name="requestOption"> /// The request option. /// </param> /// <param name="theDelegate"> /// The the delegate. /// </param> public UPCRMLinkReader( string recordIdentification, string parentLinkString, UPRequestOption requestOption, UPCRMLinkReaderDelegate theDelegate) { if (recordIdentification == null) { return; } this.SourceRecordIdentification = recordIdentification; this.InfoAreaId = this.SourceRecordIdentification.InfoAreaId(); this.ParentLinkString = parentLinkString; if (this.ParentLinkString == "KPFI") { this.ParentLinkString = "KP;FI"; } this.RequestOption = requestOption; this.TheDelegate = theDelegate; }