<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.0.0" />

SQLInjectionHelper

public class SQLInjectionHelper
Provides static methods to validate string for use in SQL statements.

public static bool IsValidArtifactIdList(string ArtifactIdList)

Verifies the provided string is a valid list of artifact ids.

public static bool IsValidFileName(string FileName)

Verifies the provided string is a valid table.

public static bool IsValidRunId(string RunId)

Verifies the provided string is a valid run id.

public static bool IsValidTableName(string TableName)

Verifies the provided string is a valid table.