Calculate LastFirst given last and first names.

Namespace: Asi.iBO.ContactManagement
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public static string GetLastFirst(
	IiMISUser boUser,
	string lastName,
	string firstName
)
Visual Basic
Public Shared Function GetLastFirst ( _
	boUser As IiMISUser, _
	lastName As String, _
	firstName As String _
) As String
Visual C++
public:
static String^ GetLastFirst(
	IiMISUser^ boUser, 
	String^ lastName, 
	String^ firstName
)

Parameters

boUser
Type: Asi.iBO..::..IiMISUser
The user object to be used if the database is accessed.
lastName
Type: System..::..String
The last name component of the contact.
firstName
Type: System..::..String
The first name component of the contact.

Return Value

The calcluated LastFirst string.

Remarks

If UseLastFirstStoredProcedure is true, then stored procedures will be used to determine the full name. If a stored procedure named sp_asi_GetLastFirstCustom exists in the database, then it will be used instead of the default sp_asi_GetLast stored procedure. If UseLastFirstStoredProcedure is false, then a native .Net will be used. This will improve overall performance, due to reduced database activity, but may result in a string that is inconsistent from Customer Portfolio processing.

See Also