using System.Collections.Generic;
using System.Threading.Tasks;
using Erp.SqlQueryManager.Domain.Shared;
using Volo.Abp.Application.Services;
namespace Erp.SqlQueryManager.Application.Contracts;
public interface ISqlTemplateAppService : IApplicationService
{
///
/// Get all available query templates
///
Task> GetQueryTemplatesAsync();
///
/// Get stored procedure template
///
Task GetStoredProcedureTemplateAsync(string procedureName, string schemaName = "dbo");
///
/// Get view template
///
Task GetViewTemplateAsync(string viewName, string schemaName = "dbo", bool withSchemaBinding = false);
///
/// Get function template
///
Task GetFunctionTemplateAsync(string functionName, SqlFunctionType functionType, string schemaName = "dbo");
///
/// Get specific query template
///
Task GetQueryTemplateAsync(string templateType);
}