Idea of the project: if someone wants to order a project development, here you can send an application.
namespace ProjectRequestTest.Core.DbContext
{
public enum DbSpName
{
ProjectRequestSave,
ProjectRequestLoadByIdentifier
}
public static class DbSpNameHelper
{
public static string ToName(this DbSpName option)
{
switch (option)
{
default:
return option.ToString();
case DbSpName.ProjectRequestSave:
return "ProjectRequest_Save";
case DbSpName.ProjectRequestLoadByIdentifier:
return "ProjectRequest_LoadByIdentifier";
}
}
}
}