You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
namespace SqlcGenCsharp.Drivers.Generators;
public class CopyFromDeclareGen(DbDriver dbDriver)
{
public MemberDeclarationSyntax Generate(string queryTextConstant, string argInterface, Query query)
{
return ParseMemberDeclaration($$"""
public async Task {{query.Name.ToMethodName(dbDriver.Options.WithAsyncSuffix)}}(List<{{argInterface}}> args{{dbDriver.Cancellation.TrailingMethodParameter()}})