Generates a batch of C# validation statements based on the column.

Namespace: CodeSmith.BaseTemplates
Assembly: CodeSmith.BaseTemplates (in CodeSmith.BaseTemplates.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public virtual string GetValidateStatements(
	TableSchema table,
	string statementPrefix
)
Visual Basic
Public Overridable Function GetValidateStatements ( 
	table As TableSchema,
	statementPrefix As String
) As String

Parameters

table
Type: SchemaExplorer..::..TableSchema
statementPrefix
Type: System..::..String

Return Value

Type: String

See Also