ISqlQueryRepository Interface

Summary

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

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
Throws an exception if the specified parameter's value is null.
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
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin