DAL in separate DLL with RIA

Posts   
 
    
ABOH
User
Posts: 148
Joined: 06-Sep-2011
# Posted on: 07-Oct-2011 00:10:14   

Hello,

We have a database (accounts: holds billing info) that needs to be used by several Silverlight RIA SaaS applications. I am thinking that we could create a Visual Studio 2010 solution in which we would simply create the DAL for the database. Next, our Silverlight RIA applications could simply add references to the DAL DLL in the other solution. Are there any known issues with us using your DAL in this manner?

Thank you for your help,

Mike

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 07-Oct-2011 07:02:47   

That's fine. Just make sure to include those references in your service application: - YourDAL.dll - The SD.LLBLGen.Pro.ORMSupportClasses dll - The SD.LLBLGen.Pro.LinqSupportClasses dll - The SD.LLBLGen.Pro.RiaSupportClasses dll as described in the docs.

David Elizondo | LLBLGen Support Team
ABOH
User
Posts: 148
Joined: 06-Sep-2011
# Posted on: 07-Oct-2011 07:22:56   

Hi Daelmo,

Great! So, using a DLL from another solution that contains your generated DAL is no different than using the DAL projects in a Silverlight solution. Awesome! This will make it easy for us to reuse the DAL with several Silverlight applications. simple_smile

Thank you for the quick response!

Mike