GrateAliases.

Grate(ICakeContext, GrateSettings) Method

Summary

Executes grate with the given configured settings.
Assembly
Cake.grate.dll
Namespace
Cake.Grate
Containing Type
GrateAliases

Syntax

public static void Grate(this ICakeContext context, GrateSettings settings)

Examples

Grate(new GrateSettings()
  {
    ConnectionString = "Server=(local);Database=mydatabase;Trusted_Connection=True;TrustServerCertificate=true;"
  });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings GrateSettings The settings.

Return Value

Type Description
void