Elle
Elle

Reputation: 5

Linq-to-entities in DotNetNuke

Is it possible to use linq-to-entities in DotNetNuke? On the other hand can a c# dotnetnuke development package be used to develop a linq-to-entities dotnetnuke web application?

Upvotes: 0

Views: 663

Answers (2)

EfficionDave
EfficionDave

Reputation: 2746

Version 7 of DNN will start using PetaPoco as an ORM. You should definitely consider using PetaPoco instead of Linq-To-Entities.

http://www.charlesnurse.com/Blog/tabid/226/EntryId/53/DAL-2-A-New-DotNetNuke-Data-Layer-for-a-New-Decade.aspx

Upvotes: 0

bdukes
bdukes

Reputation: 155985

There is a module template available at http://dnntechtemplate.codeplex.com/ which demonstrates using Entity Framework in a DotNetNuke environment (taking care of the objectQualifier and databaseOwner configuration automatically).

Upvotes: 1

Related Questions