This file contains 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
$(document).ready(function () { | |
loaddatepicker(); | |
}); | |
$(document).ajaxComplete(function () { | |
loaddatepicker(); | |
}); | |
function loaddatepicker() { |
This file contains 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
-- disable all constraints | |
EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT all' | |
-- delete data in all tables | |
EXEC sp_MSForEachTable 'DELETE FROM ?' | |
-- enable all constraints | |
EXEC sp_MSForEachTable 'ALTER TABLE ? WITH CHECK CHECK CONSTRAINT all' | |
-- reseed identity columns |
This file contains 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 Codeant.Samples.EntityFramework; | |
using Machine.Specifications; | |
namespace Codeant.Samples.Specs | |
{ | |
public class AssemblyContext : IAssemblyContext | |
{ | |
#region Implementation of IAssemblyContext | |
public void OnAssemblyStart() |