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
<#@ template language="C#" #> | |
<#@ output extension=".sql" #> | |
<#@ assembly name="$(ProjectDir)bin\Debug\SiepaczeKoduSample.Infrastructure.dll" #> | |
<#@ import namespace="System.Collections.Generic" #> | |
<#@ import namespace="SiepaczeKoduSample.Infrastructure" #> | |
<# | |
IList<Dictionary> dictionary = TemplateHelper.GetDictionary(@"C:\Users\Zaba\Pictures\SiepaczeKodu\Dictionary.csv"); | |
#> |
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
function ValidationRules(viewModel) { | |
function validateInteger(value, element, param) { | |
if (!value) { | |
return false; | |
} | |
var parsedNumber = parseFloat(value); | |
if (isNaN(parsedNumber)) { | |
return false; | |
} else { | |
return (value == parsedNumber); |
NewerOlder