{CompanyName} FlexyGo

SysController..::..testView Method

Tests a given SQL sentence and an object.

Namespace:  FLEXYGO.Controlers.UI
Assembly:  FlexyGo (in FlexyGo.dll)

Syntax


[BlacklistCheckAttribute]
[CompressAttribute]
public static bool testView(
	string ObjectName,
	string SQL
)
<BlacklistCheckAttribute> _
<CompressAttribute> _
Public Shared Function testView ( _
	ObjectName As String, _
	SQL As String _
) As Boolean

Parameters

ObjectName
Type: String
Name of the object.
SQL
Type: String
The SQL sentence.

Return Value

true if test was run ok, false otherwise.

Exceptions


ExceptionCondition
FLEXYGO.Exceptions..::..LocalizedExceptionCan't find primary key field {0} in this SQL Sentence