protected override string GetAutoType(Type baseType)
{
if (baseType == typeof(int))
{
return GetIntType() + " IDENTITY";
}
if (baseType == typeof(short))
{
return GetShortType() + " IDENTITY";
}
if (baseType == typeof(long))
{
return GetLongType() + " IDENTITY";
}
throw new NotSupportedException("Autonumbers are not supported for data type " + baseType);
}