SaaS CMS has officially launched! Learn more now.

Class DeleteCommandBuilder

Represents Delete Sql Command this.Script.

Inheritance
System.Object
DeleteCommandBuilder
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Sql
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class DeleteCommandBuilder : SqlCommandBuilder, IDisposable

Constructors

DeleteCommandBuilder(TableConfig)

Initializes a new instance of the DeleteCommandBuilder class.

Declaration
public DeleteCommandBuilder(TableConfig config)
Parameters
Type Name Description
TableConfig config

The config.

DeleteCommandBuilder(String)

Initializes a new instance of the DeleteCommandBuilder class.

Declaration
public DeleteCommandBuilder(string table)
Parameters
Type Name Description
System.String table

Properties

Values

Gets the values.

Declaration
public Dictionary<string, object> Values { get; protected set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Object>

The values.

Methods

Build(Dictionary<String, Object>)

Declaration
public void Build(Dictionary<string, object> values)
Parameters
Type Name Description
System.Collections.Generic.Dictionary<System.String, System.Object> values

Clear()

Declaration
public override void Clear()
Overrides

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
Overrides

WriteDeleteColumnValue(Column)

Writes the insert column value.

Declaration
protected virtual void WriteDeleteColumnValue(Column column)
Parameters
Type Name Description
Column column

The column.

WriteExtendedTableDelete(Table)

Writes the extended table.

Declaration
protected virtual void WriteExtendedTableDelete(Table extTable)
Parameters
Type Name Description
Table extTable

The ext table.

WritePrimaryTableDelete()

Writes the primary table insert.

Declaration
protected virtual void WritePrimaryTableDelete()

WriteQuery()

Writes the query.

Declaration
protected override void WriteQuery()
Overrides

Implements

System.IDisposable