C# Class Alphashack.Graphdat.Agent.SqlQueryHelper.Outliner

Show file Open project: alphashack/NET_graphdat

Public Properties

Property Type Description
LastError string

Public Methods

Method Description
FirstCommand ( string query ) : string
TrySimplify ( string query, string &value ) : bool

Simplifies a query by removing the value of certain types of token. Basically the ones that might be parameterised

Private Methods

Method Description
IsSqlCommand ( string token ) : bool

Method Details

FirstCommand() public static method

public static FirstCommand ( string query ) : string
query string
return string

TrySimplify() public static method

Simplifies a query by removing the value of certain types of token. Basically the ones that might be parameterised
public static TrySimplify ( string query, string &value ) : bool
query string
value string
return bool

Property Details

LastError public static property

public static string LastError
return string