Questions tagged [bll]

A Business Logic Layer (BLL) is a typical software engineering artifact within a Multitier architecture.

A Business Logic Layer (BLL) is a typical software engineering artifact within a Multitier architecture. It separates the business logic from other tiers, such as the data access layer or service layer. BLL objects are typically partitioned into two categories: business process objects (those which reflect business activities, or behaviors) and business entities (those which reflect real world business objects). Business process objects are typically implemented as controllers, i.e. they contain no data elements and only expose behaviors and activities which represent business processes. Business entities typically correspond to entities in a domain model rather than a database model.

98 questions
0
votes
1 answer

Different models in both BLL and DAL

So I'm trying to learn how to keep a good structure in a WPF application and having a hard time figure out the best way to work with BLL and DAL. I already have a couple of models in my BLL, for example: Customer, Account, etc I'm also using…
MilleB
  • 1,228
  • 1
  • 15
  • 26
0
votes
1 answer

Referencing my Models in DAL

Happy New Year everyone. Ok, i'm trying to create a 3 tier application and i have my references in the following order UI -> BLL -> DAL. The question is. The problem i'm having is with the Dbset. Because i have no reference to my models within my…
0
votes
2 answers

How to make Business layer object create many instances of the same Data Access layer object

Until now by Business Layer was instantiating one instance of my needed DAL objects: public class BarcodeBLL : IBarcodeBLL { private BarcodeConfig _MyConfig; private readonly IJDE8Dal _JDE8dal; private readonly IBarcodeDal _barcodeDal; …
e4rthdog
  • 4,841
  • 4
  • 31
  • 79
0
votes
1 answer

Should the DAL be a translation layer between the relational model and the domain model?

Simple question for which I think I have an answer but I am looking for a sounding board. Should the DAL be the one translating whatever comes from the database (be it through straight SQL, stored procedures, ORM, whatever) into Domain Entities as…
Otávio Décio
  • 70,467
  • 17
  • 156
  • 220
0
votes
1 answer

Does A Default Sort Order in DAL Violate Separation of Concerns

I have an n-tier application which among other things includes a Data Access Layer (DAL) AND a Business Logic Layer (BLL). I use SQL queries and stored procs in the DAL which I use to fill my objects. So here's my question: Does an ORDER BY clause…
Louise Eggleton
  • 807
  • 1
  • 12
  • 24
0
votes
1 answer

How to notify a user (UI) from BLL and get their response?

Using VB 2008 .NET 3.5 I am working on an N-Layer desktop application. Suppose a method in the BLL runs into an situation where the user needs to be notified and the method needs to wait for the user input (OK, Cancel, etc.) before continuing. How…
Casey Wilkins
  • 2,505
  • 2
  • 22
  • 28
0
votes
1 answer

why we are adding solution folder, and responsibilities share ,test folders inside solution

I have couple of the those pic I loaded.First my question about first pic.why those folders seems with dot presented.when I look ad those folsers,it says they are "solution folders".why we need this folder ,for example I am creating a class…
sakir
  • 3,228
  • 8
  • 29
  • 50
0
votes
1 answer

Retrieving Data from BLL to labels

I have a problem with regards on passing value from ListPageObj to show the value on the labels. How can I be able to get the value? BLL public List MyList(int ItemID) { return (from a in ctx.Item where a.ItemID ==…
StackOverflowUser
  • 287
  • 3
  • 7
  • 19
0
votes
1 answer

Using EF5 Linq to Entities as DAL to BLL to ObjectDataSource

I am struggling with Linq to Entites. I am new to EF5 and Linq. I am programming in VB.NET. I have been using Table Adapters that return DataSets as the DAL into a BLL that I then linked to ObjectDataSource. Now I upgraded to VS2012 from VS2005…
0
votes
1 answer

Organize objects in a BLL

What is the most common way to organize objects in a Business Object Layer? For Example, I've worked with a BLL with that took this approach: Common Folder - contains static utility files Interfaces Folder - All Interfaces Dal - Data Access…
Josh
  • 7,099
  • 11
  • 65
  • 109
0
votes
1 answer

Problem Using AutoMapper To Map DAL Properties To BLL Properties

I have a BLL class which contains properties for the fields in a Country table (CountryCode, CountryName, etc). It also has a property ioDAL, which is a reference to a DAL class (created with SubSonic 2.2), which has same named fields. I have a…
kevinw
  • 1,868
  • 1
  • 13
  • 15
0
votes
2 answers

How to correctly create BLL and GridView in such situation

I have designed a database, in order to better demonstrate my question, I've simplified it: TB: CONSULTANTS ID uniqueidentifier NAME NVARCHAR(30) TB: EXPENSES ID uniqueidentifier AMOUNT …
Ivan Li
  • 1,638
  • 4
  • 18
  • 23
0
votes
1 answer

what is the second parameter of dataobjectmethod, asp.net BLL

I'm studying BLL of data access in asp.net. just one thing not clear, what is the second parameter of DataObjectMethod which is a boolean variable called isDefault.
Ivan Li
  • 1,638
  • 4
  • 18
  • 23
0
votes
2 answers

how can I overload this data access layer method with a sql connection object

Both Services use the AddChildrenUnit method of the IUnitDataProvider. The TemplateService has to pass this method an already open connection object because the CreateTemplate method must run in a transaction for AddTemplate and "Create the root…
Elisabeth
  • 18,252
  • 48
  • 179
  • 303
0
votes
2 answers

Move Data Access logic from the business layer to the data access layer

I am doing an asp.net mvc application having a Data Access Layer (DAL). Having done 90% of my database CRUD code I asked myself wether I need a Business Layer. But what should I put there? All my CRUD methods in the DAL are not single Selects on one…
Pascal
  • 10,107
  • 18
  • 83
  • 180