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.0Auto Generating SqlDatAProvider and Related Classes?Auto Generating SqlDatAProvider and Related Classes?
Previous
 
Next
New Post
9/2/2006 10:42 PM
 
s2k wrote
Thanks again folks, again most all seem overly complex for the task at hand.  I guess I will hand code things for now and create my own code generation routine for a more simplified DAL.


s2k, EntitySpaces is a better DAL, and you can point, click, and generate it for you entire database in seconds, and now we have full hierarchical support. EntitySpaces is extremely simple to use compared to the DNN DAL, look at the sample guestbook module on our site, you can see the source, it's very intuitive and simple to use, supports transactions, serialization, LINQ, design time data binding, and best of all, it provider independent without recompiling. Our NUnit Test Suite is a monster, and we run the same exact binaries against SQL, Oracle, MySQL and Access.

The whole point of EntitySpaces is that it is not complex

Mike Griffin
EntitySpaces LLC
http://www.entityspaces.net
 
New Post
9/3/2006 6:13 AM
 
MyGeneration wrote
 s2k wrote
Thanks again folks, again most all seem overly complex for the task at hand.  I guess I will hand code things for now and create my own code generation routine for a more simplified DAL.



s2k, EntitySpaces is a better DAL, and you can point, click, and generate it for you entire database in seconds, and now we have full hierarchical support. EntitySpaces is extremely simple to use compared to the DNN DAL, look at the sample guestbook module on our site, you can see the source, it's very intuitive and simple to use, supports transactions, serialization, LINQ, design time data binding, and best of all, it provider independent without recompiling. Our NUnit Test Suite is a monster, and we run the same exact binaries against SQL, Oracle, MySQL and Access.

The whole point of EntitySpaces is that it is not complex

Mike Griffin
EntitySpaces LLC
http://www.entityspaces.net

 

Thanks I will take another look.  My biggest downside with the EntitySpaces is its dependance on the third party DLL.  I'd rather have somethig nthat doesn't lock us in to code we do not own.  In the end I'd just like to generate a DAL that we can then modify as needed.

 
New Post
9/3/2006 12:33 PM
 
Flexibility is just one of the advantages EntitySpaces brings to the table. All our generated code is in an abstract class. We then provide you with an empty concrete class to implement whatever custom logic you would want to apply beyond what we already offer. Consider this example from an Employees table.

  public bool CustomLoad()
{
       Select(EmployeeID, FirstName, LastName, TitleOfCourtesy)
       .Where
       (
              Or(LastName.Like("%A%"), LastName.Like("%O%")),
              this.BirthDate.Between("1/1/1940", "1/1/2006")
       )
       .OrderBy(LastName.Descending, FirstName.Ascending);
       return this.Load();
}



Then in your application you can use it like so

EmployeesCollection colEmployees = new EmployeesCollection();

if (colEmployees.CustomLoad())
{
     //Do whatever
}


EntitySpaces generates the CRUD\Dynamic Query code you will need, and allows you to add any custom methods you may require. Additionally, when your db schema changes you can regenerate and the abstract classes will be overwritten, but your custom code will remain intact. Just trying to illustrate the flexibility of EntitySpaces and how it solves the very issues that concern you as they are common, not sway your opinion s2k;)
 
New Post
9/3/2006 8:31 PM
 
Does EntitySpaces support Virtual Portals and the use of ObjectQualfier and DatabaseOwner as specied in the DotNetNuke Module Review Guidelines? 
 
New Post
9/4/2006 9:26 AM
 
Yes our scripts do put in the {objectQualifier}{databaseOwner}.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Auto Generating SqlDatAProvider and Related Classes?Auto Generating SqlDatAProvider and Related Classes?


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