BelhardTraining.Extensions.DbDataReaderExtensions.GetDecimal C# (CSharp) 메소드

GetDecimal() 공개 정적인 메소드

public static GetDecimal ( this reader, string columnName ) : decimal
reader this
columnName string
리턴 decimal
        public static decimal GetDecimal(this DbDataReader reader, string columnName)
        {
            return reader.GetDecimal(reader.GetOrdinal("columnName"));
        }