Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions csla-examples/Glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ There are object-oriented stereotypes supported by the CSLA base classes. For a
| Read-only child | `ReadOnlyBase<T>` | A read-only business domain type that supports authorization rules, read-only properties, data binding, and the child data portal child fetch operation | T is the type of business class |
| Read-only root list | `ReadOnlyListBase<T, C>` | A read-only business domain type that supports authorization rules, read-only properties, data binding, and the data portal fetch operation | T is the type of the list, C is the type of child class |
| Read-only child list | `ReadOnlyListBase<T, C>` | A read-only business domain type that supports authorization rules, read-only properties, data binding, and the child data portal child fetch operation | T is the type of the list, C is the type of child class |
| Editable document | `BusinessDocumentBase<T, C>` | An editable business domain type that combines managed properties (with full rules engine, validation, authorization, and change tracking) and an embedded collection of editable child objects; can be used as a root or child-that-is-a-parent; .NET 8+ only | T is the type of the document class, C is the type of the child class |
| Dynamic root list | `DynamicListBase<T, C>` | A business domain type representing a list of editable root objects; supports data binding, and data portal create and fetch operations; individual root objects are updated or deleted individually; primarily designed for data binding against an data grid control in the UI | T is the type of the list, C is the type of the contained editable root class |
| Command | `CommandBase<T>` | A business domain type representing a command that can be executed within the business domain; examples: does a person exist?, ship an order, archive an invoice | T is the type of the command class |
| Unit of work (read or fetch data) | A business type representing an operation where multiple other types of root objects are retrieved at once; this type has a property for each of the root object types being retrieved, and its data portal fetch operation contains code to call the data portal to fetch each of the root objects to be returned | `ReadOnlyBase<T>` | T is the type of the unit of work business class |
Expand Down
1 change: 1 addition & 0 deletions csla-examples/ObjectStereotypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This document summarizes the primary object stereotypes supported by CSLA, their
| **Read-only Child** | An object containing read-only properties; this object is contained within another object (typically a read-only root or read-only child list) and cannot be retrieved directly from the database independently. | `ReadOnlyBase<T>` |
| **Read-only Root List** | A list object containing read-only child objects; this list can be retrieved directly from the database. It represents a collection of read-only business entities. | `ReadOnlyListBase<T,C>` or `ReadOnlyBindingListBase<T,C>` (for Windows Forms) |
| **Read-only Child List** | A list object containing read-only child objects; this list is contained within another object and cannot be retrieved directly from the database independently. | `ReadOnlyListBase<T,C>` or `ReadOnlyBindingListBase<T,C>` (for Windows Forms) |
| **Editable Document** | An object combining read-write properties with an embedded collection of editable child objects; can be a root or a child-that-is-a-parent. Eliminates the need for separate BusinessBase + BusinessListBase pairs. .NET 8+ only. | `BusinessDocumentBase<T,C>` |
| **Name/Value List** | A specialized read-only list object containing key/value pairs, typically used for populating drop-down list controls or other selection mechanisms. | `NameValueListBase<K,V>` |

## Understanding the Purpose of Stereotypes
Expand Down
1 change: 1 addition & 0 deletions csla-examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ External Links:

- `Properties.md` - Property declaration patterns (major differences between versions)
- `EditableRoot.md`, `EditableChild.md`, etc. - Complete stereotype implementations
- `EditableDocument.md` - Editable document (properties + embedded child collection) pattern
- `Command.md` - Command object patterns
- `InjectAttribute.md` - Dependency injection patterns

Expand Down
Loading
Loading