What is the difference between business class and domain class? What is meant by persistent classes?
What is the difference between business class and domain class? What is meant by persistent classes?
Started by sevugarajan on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
It can be the same as the domain class, and usually performs some sort of business logic to display "Hello World" messsage....
A business class is one that your application works with.
A database) to an in-memory object.
Store (e.g.
|
|
What is meant by Business,System,Interface,Persistence classes? Explain me with some examples?
Started by sevugarajan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It's what differentiates one application....
Business could be the part of your application where all the functional part happens (ie part happens (ie sql requests)
Business: the core part of an application, usually called the business layer .
|
|
[Business] Comcast business class questions I am considering Comcast business class internet and had a few questions. I work from home and move quite a bit of data around. There is not Bit-torrent traffic on this connection
Can I use my own SB6121 cable...
Answer Snippets (Read the full thread at dslreports):
Reply to roflcopter
said by roflcopter :
I am considering Comcast business see that people....
Re: [Business] Comcast buisness class questions You can use your own modem on the comcast business class does offer hd boxes.
|
Ask your Facebook Friends
|
Why and when do we need immutable (i.e. readonly) classes (I am not talking about string . I am talking about Business Objects) in business or database applications?
Can anyone give me a real-world example of a scenario?
Started by JMSA on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
When you're modeling a business process in code, obviously what you, if a customer is a kind of person, then you....
Be useful for business objects, but you do need to approach problems with a different mindset take a slightly different tack.
|
|
What are your favorite ways to encapsulate LINQ to SQL entity classes and data-context classes into business objects?
What have you found to work in a given situation?
Have you invented or taken to any specific patterns?
Started by roosteronacid on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
In which I implement business logic:
/// <summary> /// This class extendsRight now I'm trying to use LINQ to SQL entity classes as business objects, to pass them around , so your database layout can change without changing....
|
|
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 .
|
|
Is having reference to System.Windows.Forms in a business class and using MessageBox.Show wrong?
Currently have a event processing decorator class decorating a service class. When certain events fired decorator would like to ask user if they want to proceed...
Started by c00ke on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Perhaps it will be used in a new website, a web service to handle this is to provide... .
The reason for this is you never know how your business class might be used down the road.
You should never have a UI in a business class.
|
|
Hello,
I would like to create my base business class, something like EntityBase, to have some common behavior, such as implementing interface to track changes in the object (IsNew, IsDirty) and INotifyPropertyChanges interface.
But many people say it'...
Answer Snippets (Read the full thread at stackoverflow):
By building state tracking, rendering....
We had this for several years, and there was nothing we could put in our base class of Single Responsibility Principle , which says that a class should only have a single area of responsibility.
It's bad.
|
|
I have a business layer that has some business objects/POCOs/entities/whatever. I also have some repositories for the data access. Up until this point, I've been accessing the repositories directly from my UI layer. I'm at a point where I actually need...
Started by Josh Close on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If your 'services' are orchestrating business logic.
But the idea of what the code does is the same .
|
|
I'm trying to clean my code to make it unit-testable. I know that unit tests must be created while coding but... I have to do it now, with code completed.
My business class is full of methods with a similar implementation like:
var rep=new NHrepository...
Started by Mauro Destro on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
One widely used approach is to have n repositories as parameters to your constructors... .
Also, I strongly recommend that you read Working Effectively with Legacy Code if you plan to write unit tests for your legacy code .
You're right about the dependecy injection.
|