Show / Hide Table of Contents

Interface IDBCommand

Represents the SQL command.

Namespace: Terrasoft.Core.DB
Assembly: Terrasoft.Core.dll
Syntax
public interface IDBCommand

Methods

Execute()

Executes the SQL command and returns the number of rows affected when executing the command.

Declaration
int Execute()
Returns
Type Description
System.Int32

Number of rows affected when executing the command.

Execute(DBExecutor)

Executes the SQL command, using the specified DBExecutor instance, and returns the number of rows affected when executing the command.

Declaration
int Execute(DBExecutor dbExecutor)
Parameters
Type Name Description
DBExecutor dbExecutor

The DBExecutor instance used to query the database.

Returns
Type Description
System.Int32

Number of rows affected when executing the operator.

Extension Methods

ReflectionUtilities.GetPropertyValue(Object, String)
ReflectionUtilities.GetPropertyDefValue(Object, String, Object)
ReflectionUtilities.TryGetPropertyValue(Object, String, out Object)
ReflectionUtilities.HasProperty(Object, String)
ReflectionUtilities.GetPropertyValue(Object, String, BindingFlags)
ReflectionUtilities.GetPropertyValueByPath(Object, String)
ReflectionUtilities.SetPropertyValue(Object, String, Object)
ReflectionUtilities.TrySetPropertyValue(Object, String, Object)
ValidateUtilities.CheckArgumentNull(Object, String)
ValidateUtilities.CheckDependencyNull(Object, String)
ValidateUtilities.EnsureDependencyNotNull<T>(T, String)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance, Boolean)
NSubstituteExtension.Protected(Object, String, Object[])
NSubstituteExtension.Protected(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedProperty(Object, String)
NSubstituteExtension.MatchInstance<T>(T)
SubstituteUtilities.GetIsSubstituteObject(Object)
SubstituteUtilities.Instead<TInstance, TValue>(TInstance, Func<TInstance, TValue>)
Back to top Generated by DocFX