ISqlQueryRepository Interface

Summary

Provides a method to execture sql queries against a database
graph BT Type["ISqlQueryRepository"] class Type type-node Implementing0["MySqlQueryRepository"]-.->Type click Implementing0 "/api/Cake.SqlTools/MySqlQueryRepository" Implementing1["NpgsqlQueryRepository"]-.->Type click Implementing1 "/api/Cake.SqlTools/NpgsqlQueryRepository" Implementing2["MsSqlQueryRepository"]-.->Type click Implementing2 "/api/Cake.SqlTools/MsSqlQueryRepository" Implementing3["BaseSqlQueryRepository"]-.->Type click Implementing3 "/api/Cake.SqlTools/BaseSqlQueryRepository"

Syntax

public interface ISqlQueryRepository

Methods

Name Value Summary
Execute(string, string) bool
Executes a sql query against a database

Extension Methods

Name Value Summary
Dump<ISqlQueryRepository>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ISqlQueryRepository>(ISqlQueryRepository[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ISqlQueryRepository>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ISqlQueryRepository>(string) void
Requires the Cake.Issues addin
ThrowIfNull<ISqlQueryRepository>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ISqlQueryRepository>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin