Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Output Params with DAL+ - is it possible?Output Params with DAL+ - is it possible?
Previous
 
Next
New Post
12/23/2008 4:53 PM
 

Interesting Carlos, I will put that on my list to look into.

My use case is to return a single recordset and a single paramater (most common usuage - retrieve x number of records for something and return the total number of rows so the paging control can format). I'll make an enhancement request in a mo.

 

So I guess returning 2 recordsets in a dataset will be the easiest for now..


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
12/28/2008 12:13 PM
 

Rodney Joyce wrote
 

Michael? I was hoping you would have tried this on DAL+?

I am not able to imagine a situation where you could not achieve the desired result by making an extra call to the database and passing all the required paramters to obtain the value you need.

Of course I'm using Linq now and I have marked my DAL+ tutorials as outdated.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
12/28/2008 6:26 PM
 

Michael Washington wrote

I am not able to imagine a situation where you could not achieve the desired result by making an extra call to the database and passing all the required paramters to obtain the value you need.

Of course I'm using Linq now and I have marked my DAL+ tutorials as outdated.

Yes, I was using 2 calls to get around it but obviously 1 is better than 2 for scalability/efficiency...  It would be nice if the core could review the DAL area and come up with a best practise or standard - I have never had 1 customer in 3 years who has used any other DB than SQL with my modules. 


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
12/28/2008 9:13 PM
 

Rodney Joyce wrote
 

 Michael Washington wrote

 

I am not able to imagine a situation where you could not achieve the desired result by making an extra call to the database and passing all the required paramters to obtain the value you need.

Of course I'm using Linq now and I have marked my DAL+ tutorials as outdated.

 

Yes, I was using 2 calls to get around it but obviously 1 is better than 2 for scalability/efficiency...  It would be nice if the core could review the DAL area and come up with a best practise or standard - I have never had 1 customer in 3 years who has used any other DB than SQL with my modules. 

I understand your point. HOwever, the DAL is basically "What the DotNetNuke Core uses". It is actually only offered as a reccomendation not a requirement for module developer's. So basically the DAL would only be changed if it did not work for the Core for some reason.

The DAL+ was just a "here is a fast easy way but it has limitations". Now Both these technologies are years old. We now have Linq to SQL and with DNNLinqToSqlAdapter you can have Linq to SQL that works with the DNN Core componants.

I think the next move for the Core will be Linq to Entities once it gets stabalized. It really is not worth the effort to fix any issues with DAL+.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
1/1/2009 7:05 PM
 

Michael Washington wrote

I understand your point. HOwever, the DAL is basically "What the DotNetNuke Core uses". It is actually only offered as a reccomendation not a requirement for module developer's. So basically the DAL would only be changed if it did not work for the Core for some reason.

The DAL+ was just a "here is a fast easy way but it has limitations". Now Both these technologies are years old. We now have Linq to SQL and with DNNLinqToSqlAdapter you can have Linq to SQL that works with the DNN Core componants.

I think the next move for the Core will be Linq to Entities once it gets stabalized. It really is not worth the effort to fix any issues with DAL+.

Ok, good to know, I'll use the DAL for Output params and the DAL+ where it makes sense, and keep an eye on Linq - from what I understand this is only available in .NET 3.5 so as a module vendor I would probably need to support the old DAL for a lot longer (I use EntitySpaces on my custom modules).


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Output Params with DAL+ - is it possible?Output Params with DAL+ - is it possible?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out