public static string GetPropertyType(Type type)
        {
            string result;
            switch (type.TypeKind)
            {
                case TypeKind.ComponentLink:
                    result = Util.MakeClassName(type.Name);
                    break;

                case TypeKind.Date:
                    result = "DateTime";
                    break;

                case TypeKind.Embedded:
                    result = Util.MakeEmbeddedClassName(type.Name);
                    break;

                case TypeKind.Keyword:
                    result = "IKeyword";
                    break;

                case TypeKind.MultimediaLink:
                    result = Util.MakeMultimediaClassName(type.Name);
                    break;

                case TypeKind.Numeric:
                    result = "double";
                    break;

                case TypeKind.Text:
                default:
                    result = "string";
                    break;
            }

            return result;
        }
 public static string MakeBuilderClassName(Type type)
 {
     return GetPropertyType(type) + "Builder";
 }