function IsAlphanumeric(target, propertyName) {
    models_1.addAttributeOptions(target, propertyName, {
        validate: {
            isAlphanumeric: true
        }
    });
}
/**
 * Will only allow alphanumeric characters, so "_abc" will fail
 */
Will only allow alphanumeric characters, so "_abc" will fail
Will only allow alphanumeric characters so " _abc " will fail
function IsAlphanumeric(target, propertyName) {
    models_1.addAttributeOptions(target, propertyName, {
        validate: {
            isAlphanumeric: true
        }
    });
}
function IsAlphanumeric ( target , propertyName ) { models_1 . addAttributeOptions ( target , propertyName , { validate : { isAlphanumeric : true } } ) ; }
Will only allow alphanumeric characters, so "_abc" will fail
Will only allow alphanumeric characters so " _abc " will fail