This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ============================================= | |
-- Author: Hair, Bryson | |
-- Create date: 4/27/2021 | |
-- Description: This stored procedure will send an email from the database with the query results as an html table in the email. | |
-- ============================================= | |
ALTER PROCEDURE [dbo].[CFT_SendDBEmailwithTabularQuery] | |
( | |
@qSELECT NVARCHAR(100), --The select part of the sql statement, which can include top X | |
@fieldlist NVARCHAR(MAX), --Pipe delimited list of fields, which can include aliases | |
@qFROM NVARCHAR(MAX), --The from part of the sql statment, which can include joins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sing System.Collections.Concurrent; | |
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text; | |
using System.Web; | |
/** | |
* Solution from https://stefanolsen.com/posts/cache-busting-with-asp-net-mvc/ | |
* https://www.madskristensen.net/blog/cache-busting-in-aspnet/ | |
* https://stefanolsen.com/posts/cache-busting-2-0-an-update-for-asp-net-core/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
public class TypeSafeEnum<T> where T : class | |
{ | |
TypeSafeEnum(string name, T typeSafeEnum) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEL /F/Q/S *.* > NUL |
OlderNewer