Check for the existance of a Client in the database by ID OR by Name

Namespace: GZTW.AyaNova.BLL
Assembly: GZTW.AyaNova.BLL (in GZTW.AyaNova.BLL.dll) Version: 7.0.0.0 (7.0.0.0)

Syntax

C#
public static bool Exists(
	Guid ID,
	string Name
)
Visual Basic
Public Shared Function Exists ( _
	ID As Guid, _
	Name As String _
) As Boolean
Visual C++
public:
static bool Exists(
	Guid ID, 
	String^ Name
)

Parameters

ID
Type: System..::..Guid
Guid of client or Guid.Empty if checking by name
Name
Type: System..::..String
Name of client (case sensitive) or empty string "" if checking by ID

Return Value

See Also