Skip to content

Instantly share code, notes, and snippets.

View JohnRanger's full-sized avatar
💭
Doing it the "point & Click" style (Smith & Wesson)

JohnRanger

💭
Doing it the "point & Click" style (Smith & Wesson)
  • Switzerland and World
View GitHub Profile
@JohnRanger
JohnRanger / DeleteRequestHandlerFK.cs
Last active January 7, 2016 16:10
DeleteRequestHandlerFK.cs, handling foreign key exception messages individually for different tables
// *** All credits for the base idea to JajQ / Volkan Ceylan ***
using Serenity.Data;
using System;
using System.Data.SqlClient;
using <your solution name>; // Enter the namespace of your solution here
namespace Serenity.Services
{
public class DeleteRequestHandlerFK<TRow> : DeleteRequestHandler<TRow>