Class SqlUpdateCommandBuilder
Provides an implementation for sql update command builder objects.
Inherited Members
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.GetPropertyNames(IEnumerable<>)
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.GetDbParameterNames(IEnumerable<>, System.String)
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.GetDbParameterNamesAndValues(IEnumerable<>, System.String)
Paradigm.ORM.Data.CommandBuilders.CommandBuilderBase.PopulateParameters(IEnumerable<>)
Namespace: Paradigm.ORM.Data.SqlServer.CommandBuilders
Assembly: Paradigm.ORM.Data.SqlServer.dll
Syntax
public class SqlUpdateCommandBuilder : CommandBuilderBase, IUpdateCommandBuilder, ICommandBuilder, IDisposable
Constructors
| Improve this Doc View SourceSqlUpdateCommandBuilder(IDatabaseConnector, ITableDescriptor)
Initializes a new instance of the SqlUpdateCommandBuilder class.
Declaration
public SqlUpdateCommandBuilder(IDatabaseConnector connector, ITableDescriptor descriptor)
Parameters
Type | Name | Description |
---|---|---|
IDatabaseConnector | connector | A database connector. |
ITableDescriptor | descriptor | A table type descriptor. |
Methods
| Improve this Doc View SourceGetCommand(IValueProvider)
Gets an update command query ready to update one entity.
Declaration
public IDatabaseCommand GetCommand(IValueProvider valueProvider)
Parameters
Type | Name | Description |
---|---|---|
IValueProvider | valueProvider |
Returns
Type | Description |
---|---|
IDatabaseCommand | An update command already parametrized to update the entity. |
Implements
IDisposable