private string GetFriendlyTypeName(GeneratedStorageProperty storageProperty)
        {
            string typeName = storageProperty.ClrType.Name;

            // Use the type's keyword if one exists.
            if (storageProperty.ClrType == typeof(string))
            {
                typeName = "string";
            }
            else if (storageProperty.ClrType == typeof(int))
            {
                typeName = "int";
            }
            else if (storageProperty.ClrType == typeof(bool))
            {
                typeName = "bool";
            }
            else if (storageProperty.ClrType == typeof(double))
            {
                typeName = "double";
            }
            else if (storageProperty.ClrType == typeof(object))
            {
                typeName = "object";
            }
            else if (storageProperty.ClrType == typeof(byte[]))
            {
                typeName = "byte[]";
            }

            if (storageProperty.IsNullableType)
            {
                // Use the ? nullable syntax.
                typeName += "?";
            }

            return(typeName);
        }
private string GetFriendlyTypeName(GeneratedStorageProperty storageProperty)
{
    string typeName = storageProperty.ClrType.Name;

    // Use the type's keyword if one exists.
    if (storageProperty.ClrType == typeof(string))
    {
        typeName = "string";
    }
    else if (storageProperty.ClrType == typeof(int))
    {
        typeName = "int";
    }
    else if (storageProperty.ClrType == typeof(bool))
    {
        typeName = "bool";
    }
    else if (storageProperty.ClrType == typeof(double))
    {
        typeName = "double";
    }
    else if (storageProperty.ClrType == typeof(object))
    {
        typeName = "object";
    }
    else if (storageProperty.ClrType == typeof(byte[]))
    {
        typeName = "byte[]";
    }

    if (storageProperty.IsNullableType)
    {
        // Use the ? nullable syntax.
        typeName += "?";
    }

    return typeName;
}