Click here to Skip to main content
16,023,117 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Can LINQ be used as data access as well as
business Logic layer.I mean to ask i have created classs for each table using LINQ wizard.Now my question is it ok to directly call the linq classes on the button clicks of the aspx pages,Or there should be one more layer in between containing business Logic...
Please help I am confused...

Thanks And Regards,
Amol
Posted

1 solution

IMO, LINQ can be used anywhere required.

LINQ statements used in the data access layer would directly fetching data where as LINQ statements in the business layer could be used to do some additional business processing on data.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900