Anyone using Telerik ORM for generating SS projects? I fired it up for the first time this morning and am having problems filtering on a uniqueidentifier column. A basic URL throws an exception saying it’s illegal to case from a String to Guid. The URL is…
http://localhost:1406/Domains?filter=Uid+eq+'A7EA2171-8064-4CEB-BA85-474EF02D37BC’
Any thoughts?
Fredrick Lackey:
Looks like they don’t have a parser for Guids. Odd. It’s a temporary hack, but adding a computed field worked…
RTRIM(REPLACE(CONVERT(VARCHAR(36),Uid),’-’,’’))
Fredrick Lackey:
Oh, and the templates do NOT correctly set the field type of the computed columns. I had to manually set the “Kind” attribute to “PersistentReadOnly” so insert operations would function properly.