private static void SetCommonColumnOptions(IConfigurationSection section, SqlColumn target) { // Standard Columns are subclasses of the SqlColumn class SetProperty.IfNotNullOrEmpty <string>(section["columnName"], (val) => target.ColumnName = val); SetProperty.IfNotNull <string>(section["dataType"], (val) => target.SetDataTypeFromConfigString(val)); SetProperty.IfNotNull <bool>(section["allowNull"], (val) => target.AllowNull = val); SetProperty.IfNotNull <int>(section["dataLength"], (val) => target.DataLength = val); SetProperty.IfNotNull <bool>(section["nonClusteredIndex"], (val) => target.NonClusteredIndex = val); }