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
| public class DatabaseDeleter | |
| { | |
| private readonly ISessionFactory _configuration; | |
| private static readonly string[] _ignoredTables = new[] { "sysdiagrams", /* DB Migration tables too */ }; | |
| private static string[] _tablesToDelete; | |
| private static string _deleteSql; | |
| private static object _lockObj = new object(); | |
| private static bool _initialized; | |
| public DatabaseDeleter(ISessionFactory sessionSource) |
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.Globalization; | |
| using System.Web.Mvc; | |
| namespace My.ModelBinders | |
| { | |
| /// <summary> | |
| /// Thank you Phil Haack: used to model bind multiple culture decimals | |
| /// http://haacked.com/archive/2011/03/19/fixing-binding-to-decimals.aspx | |
| /// |
NewerOlder