Class UpdateCommandBuilder
Represents Update Sql Command this.Script.
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: 12.17.2Syntax
public class UpdateCommandBuilder : SqlCommandBuilder, IDisposable
Constructors
UpdateCommandBuilder(TableConfig)
Initializes a new instance of the UpdateCommandBuilder class.
Declaration
public UpdateCommandBuilder(TableConfig config)
Parameters
Type | Name | Description |
---|---|---|
TableConfig | config | The config. |
UpdateCommandBuilder(String)
Initializes a new instance of the UpdateCommandBuilder class.
Declaration
public UpdateCommandBuilder(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
WriteExtendedTableInsert(Table)
Writes the extended table insert.
Declaration
protected virtual void WriteExtendedTableInsert(Table extTable)
Parameters
Type | Name | Description |
---|---|---|
Table | extTable | The ext table. |
WriteExtendedTableInsertColumns(ColumnCollection)
Writes the extended table insert columns.
Declaration
protected virtual void WriteExtendedTableInsertColumns(ColumnCollection columns)
Parameters
Type | Name | Description |
---|---|---|
ColumnCollection | columns | The columns. |
WriteExtendedTableInsertColumnValues(ColumnCollection)
Writes the extended table insert column values.
Declaration
protected virtual void WriteExtendedTableInsertColumnValues(ColumnCollection columns)
Parameters
Type | Name | Description |
---|---|---|
ColumnCollection | columns | The columns. |
WriteExtendedTableUpdate(Table)
Writes the extended table.
Declaration
protected virtual void WriteExtendedTableUpdate(Table extTable)
Parameters
Type | Name | Description |
---|---|---|
Table | extTable | The ext table. |
WriteExtendedTableUpdateSet(ColumnCollection)
Writes the extended table insert columns.
Declaration
protected virtual void WriteExtendedTableUpdateSet(ColumnCollection columns)
Parameters
Type | Name | Description |
---|---|---|
ColumnCollection | columns | The columns. |
WriteInsertColumnValue(Column)
Writes the insert column value.
Declaration
protected virtual void WriteInsertColumnValue(Column column)
Parameters
Type | Name | Description |
---|---|---|
Column | column | The column. |
WritePrimaryTableUpdate()
Writes the primary table insert.
Declaration
protected virtual void WritePrimaryTableUpdate()
WritePrimaryTableUpdateSet(ColumnCollection)
Writes the primary table insert columns.
Declaration
protected virtual void WritePrimaryTableUpdateSet(ColumnCollection columns)
Parameters
Type | Name | Description |
---|---|---|
ColumnCollection | columns | The columns. |
WriteQuery()
Writes the query.
Declaration
protected override void WriteQuery()
Overrides
WriteUpdateColumnValue(Column)
Writes the insert column value.
Declaration
protected virtual void WriteUpdateColumnValue(Column column)
Parameters
Type | Name | Description |
---|---|---|
Column | column | The column. |
Implements
System.IDisposable