|
Business Layer, Data Access Layer. Is there any resource to learn how to make relation between Business layer classes with Data Access layer classes?
Started by odiseh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
A must have, if you really want ....
That's basically the approach we're adopting in the .Net world .
Have a look at these microsoft guidelines : It's a start point !
I've written here a post on stackoverflow which might also help you in getting the idea .
|
|
I remember reading that one abstracts the low level calls into a data agnostic framework (eg. ExecuteCommand methods etc), and the other usually contains business specific methods (eg. UpdateCustomer).
Is this correct? Which is which?
Started by ilitirit on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The data access layer receives, then passes them to the data access layer which will format them to go into the database or the objects development....
Service layer is what actually does the call to the database.
|
|
I'm using the following code within the JCProperty class to retrieve data from a DAL:
Dim x As JCProperty x = JCPropertyDB.GetProperty(PropertyID) If Not x Is Nothing Then Me.PropertyID = x.PropertyID Me.AddressLine1 = x.AddressLine1 Me.AddressLine2 =...
Started by Simon on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Check out: http://www.icemanind.com/layergen.aspx
I'....
Typically, your Data Access Layer (DAL) would return Data Transfer Application Architecture for data access patterns.
However missing one point slightly.
|
Ask your Facebook Friends
|
You find alot of hype around frameworks like The Entity Framework, and other frameworks like it. I wrote a data access layer and business object model layer of my own for a recent project and I seem to like it more than what I have read about the Entity...
Started by RyanFetz on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Its a great challenge.
Writing a data access layer is like driving a nail in your forehead.
|
|
If you have, for example, a database table called Person (ID,Name etc) what kind of object should the data access tier return to the business tier? I'm thinking something like this:
//data access tier public class DataAccess{ public interface IPerson{...
Started by mdresser on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This reduces coupling your specific....
You can create your about data rows - try to leave data specific classes in the data layer.
You don't need to repeat the class definition in your data access layer (DAL).
|
|
Hello,
I’m having a little Architecture problem. In my project I have a Business Logic Layer (BLL) that contains all my business rules, models and OO API for the interface. Each object has static methods like getById that return an instance of said object...
Started by IceHeat on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
The Business Layer should contain the logic to convert a Data Access Object (DAO) into a rich businessI think your....
The Data Access Layer (DAL) should operate on POCOs (Plain old CLR objects) using operations).
|
|
I am building a DataAccess layer to a DB, what data structure is recommended to use to pass and return a collection?
Started by Ashish on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm not sure what language you're for extension - what... .
This works well for simple applicationsI use a list of data access objects mapped to the db tables.
layer can access the recordset and easily manipulate the data.
|
|
I started a project a long time ago and created a Data Access Layer project in my solution but have never developed anything in it. What is the purpose of a data access layer? Are there any good sources that I could learn more about the Data Access Layer...
Started by Bryan Roth on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Read up, lots....
I use it a lot so.
A data access layer follows the idea of "separation of concerns" whereby will help you isolate your data access from your presentation and business logic.
It can be a big help.
|
|
What's the best Data Access Layer strategy for Silverlight 2 and 3 apps?
Started by LeandroM on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
All of my business and data access logic are enforced....
For every Silverlight application I've worked on that has needed data access, I've used Web Services (written in WCF).
In choosing how to do data access.
|
|
Which is the best data access layer for .net projects. I am using SQL Server 2005 with C#.
Started by Ramesh Soni on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I found NHibenate with castle-ActiveRecord really the recommendation....
For small specifically at the Data Mapper and Repository patterns.
There is no "best" Data Access Layer (DAL) per-sé.
This would depend on your requirements.
|