Hide

YetaWF.DataProvider.SQLGeneric Package Documentation

Display
Print

YetaWF.DataProvider.SQLGeneric.SQLGenericBuilder Class

Helper class used to create dynamic SQL strings. Similar to the System.Text.StringBuilder class but specialized for SQL statements.

Namespace: YetaWF.DataProvider.SQLGeneric
Assembly: YetaWF.DataProvider.SQLGeneric

Inheritance

Syntax

public abstract class SQLGenericBuilder;

Constructors

PublicSQLGenericBuilderConstructor.

Fields

Protected_sbUsed to hold the SQL string being built.

Methods

PublicAddAppends a string.
PublicAppendAppends a string.
PublicBuildFullColumnNameReturns a formatted column name or a formatted database name, database owner, table name and column name, with brackets.
PublicBuildFullTableNameReturns a formatted table name or a formatted database name, database owner and table name, with brackets.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicRemoveLastCharacterRemoves the last appended character from the string.
PublicRemoveLastCommaRemoves the last comma.
PublicToStringReturns the complete SQL string built using this instance.

See Also YetaWF.DataProvider.SQLGenericYetaWF.Core