Is there a difference between a business object and an entity?
If I were to define a POCO type of class, say a Product class, would that be a business object or an entity?
public class Product {
public int ID { get; set; }
public string Name { get; set; }
public double Price { get; set; }
public string Sku { get; set; }
}
Note there is no functionality within this object.
Entity is a real time object that can be distinguised from other objects. Object is an entity that has all the attributes and the actions required to be taken.
Entity objects are classes that encapsulate the business model, including rules, data, relationships, and persistence behavior, for items that are used in your business application. For example, entity objects can represent. the logical structure of the business, such as product lines, departments, sales, and regions.
A business object when used in object-oriented programming, is a representation of parts of a business, A business object may represent, for example, a person, place, event, business process, or concept and exist as for example and invoice, a product, a transaction or even details of a person.
What is SAP BusinessObjects Business Intelligence? SAP BusinessObjects Business Intelligence is a centralized suite for data reporting, visualization, and sharing. As the on-premise BI layer for SAP's Business Technology Platform, it transforms data into useful insights, available anytime, anywhere.
I would call it a DTO (Data Transfer Object). I have also seen them called "Property Classes" in times past. I would NOT call it a Business Object because it has no behavior and by definition BO's are defined by their behavior.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With