Hi Bob,
I asked this question because I'm trying to understand how an open source software package works with a view to extending it.
For example, below, I have posted a snippet from some code that converts SQL Server datatypes into DCIL data types. The code was written before SQL Server 2008 was announced so the list of datatypes in the "case" sections needs to be extended to
handle the new datatypes in later versions of SQL Server.
It is from this and similar code that I have inferred the existence of "DCIL datatypes".
So that's why I'm trying to make my two column list.
I'm at the edge of my knowledge so I would appreciate it if you could move the thread to a "more appropriate" forum.
Thanks
Ken
private DcilDataType.DCILType ConvertSQLServerDataType(string dataType)
{
dataType = dataType.ToLowerInvariant();
switch (dataType)
{
case "nvarchar":
case "varchar":
case "ntext":
case "text":
return DcilDataType.DCILType.CharacterVarying;
case "char":
case "nchar":
return DcilDataType.DCILType.Character;