MySql.Data.Entity.EFMySqlDataReader.GetValue C# (CSharp) 메소드

GetValue() 공개 메소드

public GetValue ( int ordinal ) : object
ordinal int
리턴 object
        public override object GetValue(int ordinal)
        {
            object value = reader.GetValue(ordinal);

            if (types != null)
            {
                if (!(value is DBNull) && value.GetType()
                    != types[ordinal].ClrEquivalentType)
                    value = ChangeType(value, types[ordinal].ClrEquivalentType);
            }
            return value;
        }