Property instead of Variable

Apr 12, 2016 at 10:08 AM
Hi,

i'm testing my first project with RaptorDB . I'm using the gridcontrol from devexpress and this component displays Object properties, not simple variables.

This is the rowschema I created, and all query are working great, but I cannot display it directly because there is no properties.
public class clsSegmentViewRowSchema
{
    public System.Guid docid;// { get; set; }
    public int Numero; //{ get; set; }
    public string Code; // { get; set; }
    public string Name; // { get; set; }
}
Then I uncomment the {Get; Set;}. The creation of data still works great, but then I encounter a InvalidCastException with query results.

In order to display the results, I must leave fields as variables in the rowschema, and create new object in another class with properties after the query.

Is there another away to directly use properties in rowschema and have queries still working?

Thank you
Apr 12, 2016 at 11:46 AM
This should not happen, I will fix it, thanks.
Apr 13, 2016 at 6:35 PM
Thank you, otherwise it seems a great product!
Apr 14, 2016 at 7:50 AM
Fixed in 3.3.1

If you change the schema then you should increment the view.Version so the engine rebuilds the view.
Apr 24, 2016 at 9:29 AM
Thank you for the fix, works fine now.