2 messages in com.googlegroups.google-base-data-apiRe: Class representation of meta type...
FromSent OnAttachments
ash26 Mar 2008 14:40 
Jeff S01 Apr 2008 15:34 
Subject:Re: Class representation of meta types in .NET
From:Jeff S (j.@google.com)
Date:04/01/2008 03:34:47 PM
List:com.googlegroups.google-base-data-api

Hi Ash,

I don't think this is possible at the moment, but it should be possible to add something like this to the .NET library. Just to make sure I understand, you are suggesting something like

query.Attribute.Add(GoogleType.Color,"Red");

to translate into

...?bq=[color:red]

I think the best thing to do with this idea is to either post it in the .NET library project's discussion group or code it up and send in a patch. The project is open to contributions so feel free :)

http://groups.google.com/group/gdata-dotnet-client-library

Happy coding,

Jeff

On Mar 26, 2:40 pm, ash <a.@ametry.com> wrote:

Im using Google Base to do read only queries (using the .NET API) I was wondering if there was a class representation to the item metatypes described inhttp://www.google.com/base/feeds/itemtypes/en_US ??

In GoogleBase.GBaseQuery, it would be nice if I am able to specify some of the 'recommended' attributes without adding them to the query.GoogleBaseQuery using a string representation [name:value]... maybe something like query.Attribute.Add(GoogleType.Color,"Red");

Does anybody know to do that, is it possible? Thanks!