MdxClient.TypeConverter.Find C# (CSharp) Method

Find() private static method

private static Find ( DbType dbType ) : DbTypeMapEntry
dbType DbType
return DbTypeMapEntry
        private static DbTypeMapEntry Find(DbType dbType)
        {
            object retObj = null;
            for (int i = 0; i < _DbTypeList.Count; i++)
            {
                DbTypeMapEntry entry = (DbTypeMapEntry)_DbTypeList[i];
                if (entry.DbType == dbType)
                {
                    retObj = entry;
                    break;
                }
            }
            if (retObj == null)
            {
                throw new ArgumentException("Referenced an unsupported DbType");
            }
            return (DbTypeMapEntry)retObj;
        }

Same methods

TypeConverter::Find ( SqlDbType sqlDbType ) : DbTypeMapEntry
TypeConverter::Find ( Type type ) : DbTypeMapEntry