CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
OperationReturnValues.cs
Go to the documentation of this file.
1using System;
2using System.Threading.Tasks;
3
5{
7 public sealed class OperationReturnValues
8 : BusinessBase<OperationReturnValues>
9 {
10 private void Foo() { }
11 [Fetch]
12 private void DataPortal_Fetch(Guid id) { }
13 [Fetch]
14 private Task DataPortal_Fetch(int id) => Task.CompletedTask;
15 [Fetch]
16 private string DataPortal_Fetch() => string.Empty;
17 }
18
19 public sealed class OperationReturnValuesNotCsla
20 {
21 private string DataPortal_Fetch() => string.Empty;
22 }
23}
This is the base class from which most business objects will be derived.
Definition: BusinessBase.cs:38
@ Serializable
Prevents updating or inserting until the transaction is complete.
@ Fetch
Fetch operation.