Class CqlCommandBuilderBase
Provide base methods and functionality for all the command builders.
Inheritance
System.Object
CqlCommandBuilderBase
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.Cassandra.CommandBuilders
Assembly: Paradigm.ORM.Data.Cassandra.dll
Syntax
public abstract class CqlCommandBuilderBase : CommandBuilderBase, ICommandBuilder, IDisposable
Constructors
| Improve this Doc View SourceCqlCommandBuilderBase(IDatabaseConnector, ITableDescriptor)
Initializes a new instance of the CqlCommandBuilderBase class.
Declaration
protected CqlCommandBuilderBase(IDatabaseConnector connector, ITableDescriptor descriptor)
Parameters
Type | Name | Description |
---|---|---|
IDatabaseConnector | connector | A database connector. |
ITableDescriptor | descriptor | A table type descriptor. |
Methods
| Improve this Doc View SourceGetTableName()
Gets the name of the table already scaped.
Declaration
protected override string GetTableName()
Returns
Type | Description |
---|---|
System.String | The name of the table. |
Overrides
| Improve this Doc View SourcePopulateParameters(IEnumerable<IColumnDescriptor>)
Populates the command parameters using the collection of columns.
Declaration
protected override void PopulateParameters(IEnumerable<IColumnDescriptor> columns)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IColumnDescriptor> | columns | Array of column property descriptors |
Implements
IDisposable