private string getDataType(string dbDataType) { MyRepository rep = new MyRepository(); dbDataType = dbDataType.Replace("(", ""); dbDataType = dbDataType.Replace(")", ""); dbDataType = System.Text.RegularExpressions.Regex.Replace(dbDataType, @"\d", ""); OrMap orMap = rep.FindOrMapByDbDataType(dbDataType); return(orMap.data_type); }