I would like to see that using OA ORM will be as easy as building an application in Lightswitch. For me using ORM is still too much coding for standard data manipulation using master detail (detail) relationships and validation.
The rad way would be: mapping table relationships to objects (automatically recognizing foreign key(s)) -> automatically generating data services for the objects -> assign the service as datasource to a silverlight control and to be able to do data validations of the map fields. This process should be done without any coding.
I see that ORM are providing more and more wizards but the Lightswitch way for building LOB applications for Silverlihgt is unbeatable at this moment. I hope that OA ORM will do a catch up in this area.
Henk
8 Answers, 1 is accepted
Thank you for writing.
As you have noticed, with the DSW and other wizards we are already trying to make developing with OpenAccess easier.
Actually the scenario that you use as an example is mostly possible even now, because the DSW can generate a Silverlight application for you (with Microsoft or Telerik control).
Have you tried that functionality of the DSW?
We are constantly working in that direction in order to allow developers to be even more productive with OpenAccess.
We have already planned to extend the DSW with new functionality and support for more services and presentation layers that will make developing with OpenAccess even easier.
Any feedback and suggestions that you might have are welcome.
Kind regards,
Jordan
the Telerik team
Henk
We have a vastly improved RIA experience on the road-map and definitely will be working on that in the future.
Unfortunately I cannot give you a specific time frame for the availability of such functionality at the moment.
As always, any feedback is welcome.
Sincerely yours,
Jordan
the Telerik team
You may have noticed this in our blogs, but I am sending it your way anyway - in case you still want to use Telerik OpenAccess ORM with LightSwitch: Getting Started With LightSwitch and OpenAccess
Best wishes,
Vassil
the Telerik team
I am using Telerik OpenAccess ORM and WCF RIA services to pull data and usinf Lightswitch to display that data.
I can populate data into EditableGrid in LightSwitch,but when i tried to Update it,i am getting this error.
Value cannot be null.
Parameter name: sourceMemberNames.
can we perform updates through lightswitch by using telerik openaccess ORM.I am using Oracle database.
I am Using WCF RIA Services.
this is my "Domain Service"
[
EnableClientAccess()]
public partial class test_DS_cs : OpenAccessDomainService< testEntitiesModel >
{
public test_DS_cs() : base()
{}
public IQueryable<TESTTABLE> GetTESTTABLEs()
{
return this.DataContext.TESTTABLEs;
}
public void DeleteTESTTABLEs(TESTTABLE tESTTABLE)
{
}
public void UpdateTESTTABLEs(TESTTABLE tESTTABLE)
{
}
public void InsertTESTTABLEs(TESTTABLE tESTTABLE)
{
}
}
And this is my table:
public
partial class TESTTABLE
{
private long _eMPID;
public virtual long EMPID
{
{
return this._eMPID;
}
{
this._eMPID = value;
}
}
private string _fNAME;
public virtual string FNAME
{
{
return this._fNAME;
}
{
this._fNAME = value;
}
}
private string _lNAME;
public virtual string LNAME
{
return this._lNAME;
}
{
this._lNAME = value;
}
}
}
Thanks,
LV.
Can you please share with us which version of Telerik OpenAccess ORM are you using? I have seen such errors occur with version prior to Q1 2011. If you are using an earlier version can you please try to upgrade and see if that fixes your problem?
Best wishes,Petar
the Telerik team
Thanks for your reply.
I am using telerik openaccess orm version 2011.1.411.2.
Still i am getting the same error while updating the record.
I am not getting any errors while displaying data.Only problem is while updating .
I didn't write any code to do update.Do i need to? with lightswitch and telerik openaccess orm.
Please let me know.
Or if possible please give me a working sample.
Thanks,
LV.
I have tested this with the latest version of OpenAccess and everything is working as expected.
No additional code is required for handling an update because the changes you do on your client are successfully resolved on the server side and the update should pass automatically once you call .Commit(). Please note that you should not write any code in your update methods too.
If you are still facing any problems please send us a sample application where the problem is present so that we can investigate the cause of it and provide you with a fix.
Petar
the Telerik team