This question is locked. New answers and comments are not allowed.
Hi,
I'm quite new to ORM and have the following challenge ahead of me:
I have to work with a SQL Server 2005 database within a Sitefinity Project. (3.7)
This database contains personal information, addresses etc.
The database is generated by some sort of tool that builds the database and a Windows Forms application to maintain it. I have to be able to read and write from the database from my Sitefinity project.
Questions
1. The database has no relations defined inside SQL Server. Can I have full advantage of ORM if there are no relation or do I have to manually create associations first? And... will all this LINQ stuff work when I do this?
2. All the Identity columns get there identity from a seperate table. So for each entity I will have to manually get a unique number from the database and after that update this seperate table. So actually a manual identity seed mechanism. Will this work?
3. The database will be on a seperate server. So my website will have a remote connection to this database server. Is there something I should do to make this work with ORM? Maybe caching and transactions?
Just like to know if these issues will be a real problem in ORM.
Thanks,
Daniel
I'm quite new to ORM and have the following challenge ahead of me:
I have to work with a SQL Server 2005 database within a Sitefinity Project. (3.7)
This database contains personal information, addresses etc.
The database is generated by some sort of tool that builds the database and a Windows Forms application to maintain it. I have to be able to read and write from the database from my Sitefinity project.
Questions
1. The database has no relations defined inside SQL Server. Can I have full advantage of ORM if there are no relation or do I have to manually create associations first? And... will all this LINQ stuff work when I do this?
2. All the Identity columns get there identity from a seperate table. So for each entity I will have to manually get a unique number from the database and after that update this seperate table. So actually a manual identity seed mechanism. Will this work?
3. The database will be on a seperate server. So my website will have a remote connection to this database server. Is there something I should do to make this work with ORM? Maybe caching and transactions?
Just like to know if these issues will be a real problem in ORM.
Thanks,
Daniel