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.
Csla Namespace Reference

Namespaces

namespace  Analyzers
 
namespace  AspNetCore
 
namespace  Axml
 
namespace  Blazor
 
namespace  Channels
 
namespace  Configuration
 
namespace  Core
 
namespace  Data
 
namespace  DataPortalClient
 
namespace  Generators
 
namespace  Ios
 
namespace  Iosui
 
namespace  Properties
 
namespace  Reflection
 
namespace  Rules
 
namespace  Runtime
 
namespace  Security
 
namespace  Serialization
 
namespace  Server
 
namespace  Test
 
namespace  TestHelpers
 
namespace  Testing
 
namespace  Threading
 
namespace  Web
 
namespace  Windows
 
namespace  Xaml
 

Classes

class  ApplicationContext
 Provides consistent context information between the client and server DataPortal objects. More...
 
class  BusinessBase
 This is the base class from which most business objects will be derived. More...
 
class  BusinessBindingListBase
 This is the base class from which most business collections or lists will be derived. More...
 
class  BusinessListBase
 This is the base class from which most business collections or lists will be derived. More...
 
class  CommandBase
 This is the base class from which command objects will be derived. More...
 
class  CreateAttribute
 Specifies a method used by the server-side data portal to initialize a new domain object. More...
 
class  CreateChildAttribute
 Specifies a method used by the server-side data portal to initialize a new child object. More...
 
class  CriteriaBase
 Base type from which Criteria classes can be derived in a business class. More...
 
class  DataPortal
 Client side data portal used for making asynchronous data portal calls in .NET. More...
 
class  DataPortalChildOperationAttribute
 Base type for data portal child operation attributes. More...
 
class  DataPortalEventArgs
 Provides information about the DataPortal call. More...
 
class  DataPortalException
 This exception is returned for any errors occurring during the server-side DataPortal invocation. More...
 
class  DataPortalOperationAttribute
 Base type for data portal operation attributes. More...
 
class  DataPortalOperationExtensions
 Extension methods for mapping DataPortalOperations to other system values.
 
class  DataPortalResult
 DataPortalResult defines the results of DataPortal operation. More...
 
class  DataPortalRootOperationAttribute
 Base type for data portal root operation attributes. More...
 
class  DataPortalServerResourceAttribute
 Specifies a server resource required by a business type so the data portal can route any calls to the correct server. More...
 
class  DataPortalServerRoutingTagAttribute
 Specifies a routing tag for use by the server-side data portal. More...
 
class  DefaultFilter
 
class  DeleteAttribute
 Specifies a method used by the server-side data portal to delete domain object data during an update operation. More...
 
class  DeleteSelfAttribute
 Specifies a method used by the server-side data portal to delete domain object data during an explicit delete operation. More...
 
class  DeleteSelfChildAttribute
 Specifies a method used by the server-side data portal to delete child object data during an update operation. More...
 
class  DynamicBindingListBase
 This is the base class from which collections of editable root business objects should be derived. More...
 
class  DynamicListBase
 This is the base class from which collections of editable root business objects should be derived. More...
 
class  ExecuteAttribute
 Specifies a method used by the server-side data portal to execute a command object. More...
 
class  ExecuteChildAttribute
 Specifies a method used by the server-side data portal to execute a child command object during an update operation. More...
 
class  Extensions
 
class  FetchAttribute
 Specifies a method used by the server-side data portal to load existing data into the domain object. More...
 
class  FetchChildAttribute
 Specifies a method used by the server-side data portal to load existing data into the child object. More...
 
class  FilteredBindingList
 Provides a filtered view into an existing IList(Of T). More...
 
interface  IBusinessBase
 Consolidated interface of public elements from the BusinessBase type. More...
 
interface  IBusinessListBase
 This is the base class from which most business collections or lists will be derived. More...
 
interface  IChildDataPortal
 Interface defining the members of the child data portal type. More...
 
interface  IChildDataPortalFactory
 Defines a data portal service used to get an access to a client-side data portal instance. More...
 
interface  ICommandBase
 This is the base class from which command objects will be derived. More...
 
interface  IContainsDeletedList
 Defines an object that holds a list of deleted items. More...
 
interface  IDataPortal
 Interface defining the members of the data portal type. More...
 
interface  IDataPortalFactory
 Defines a data portal service used to get an access to a client-side data portal instance. More...
 
interface  IDataPortalResult
 IDataPortalResult defines the results of DataPortal operation More...
 
class  InjectAttribute
 Specifies a parameter that is provided via dependency injection. More...
 
class  InsertAttribute
 Specifies a method used by the server-side data portal to insert domain object data during an update operation. More...
 
class  InsertChildAttribute
 Specifies a method used by the server-side data portal to insert child object data during an update operation. More...
 
interface  IReadOnlyBase
 This is a base class from which readonly business classes can be derived. More...
 
interface  IReadOnlyListBase
 This is the base class from which readonly collections of readonly objects should be derived. More...
 
class  LazySingleton
 An alternative to Lazy<T> More...
 
class  LinqObservableCollection
 Synchronized view over a source list, filtered, sorted and ordered based on a query result. More...
 
class  LinqObservableCollectionExtension
 Extension method for implementation of LINQ methods on BusinessListBase
 
class  MethodInfo
 Maintains metadata about a method. More...
 
class  NameValueListBase
 This is the base class from which readonly name/value collections should be derived. More...
 
class  NotUndoableAttribute
 Marks a field to indicate that the value should not be copied as part of the undo process. More...
 
class  ObjectAuthorizationRulesAttribute
 Attribute identifying static method invoked to add object authorization rules for type. More...
 
class  PropertyInfo
 Maintains metadata about a property. More...
 
class  PropertyLoadException
 Exception indicating a failure to set a property's field. More...
 
class  ReadOnlyBase
 This is a base class from which readonly business classes can be derived. More...
 
class  ReadOnlyBindingListBase
 This is the base class from which readonly collections of readonly objects should be derived. More...
 
class  ReadOnlyListBase
 This is the base class from which readonly collections of readonly objects should be derived. More...
 
class  RunLocalAttribute
 Marks a DataPortal_XYZ method to be run on the client even if the server-side DataPortal is configured for remote use. More...
 
struct  SmartDate
 Provides a date data type that understands the concept of an empty date value. More...
 
class  SortedBindingList
 Provides a sorted view into an existing IList(Of T). More...
 
class  TransactionalAttribute
 Marks a DataPortal_XYZ method to run within the specified transactional context. More...
 
class  UpdateAttribute
 Specifies a method used by the server-side data portal to update domain object data during an update operation. More...
 
class  UpdateChildAttribute
 Specifies a method used by the server-side data portal to update child object data during an update operation. More...
 
class  Utilities
 Contains utility methods used by the CSLA .NET framework.
 

Enumerations

enum  DataPortalOperations : int {
  Create , Fetch , Update , Delete ,
  Execute
}
 List of data portal operations. More...
 
enum  RelationshipTypes { None = 0x0 , LazyLoad =0x2 , PrivateField =0x4 }
 List of valid relationship types between a parent object and another object through a managed property. More...
 
enum  TransactionalTypes { Manual , TransactionScope , EnterpriseServices }
 Provides a list of possible transactional technologies to be used by the server-side DataPortal. More...
 
enum  TransactionIsolationLevel {
  Unspecified , Serializable , RepeatableRead , ReadCommitted ,
  ReadUncommitted
}
 Specifies an isolation level for transactions controlled by TransactionalAttribute More...
 
enum  CallType { Get , Let , Method , Set }
 Valid options for calling a property or method via the Csla.Utilities.CallByName method. More...
 

Functions

delegate bool FilterProvider (object item, object filter)
 Defines the method signature for a filter provider method used by FilteredBindingList. More...
 

Enumeration Type Documentation

◆ CallType

Valid options for calling a property or method via the Csla.Utilities.CallByName method.

Enumerator
Get 

Gets a value from a property.

Let 

Sets a value into a property.

Method 

Invokes a method.

Set 

Sets a value into a property.

Definition at line 319 of file Utilities.cs.

◆ DataPortalOperations

List of data portal operations.

Enumerator
Create 

Create operation.

Fetch 

Fetch operation.

Update 

Update operation (includes insert, update and delete self).

Delete 

Delete operation.

Execute 

Execute operation.

Definition at line 16 of file DataPortalOperations.cs.

◆ RelationshipTypes

List of valid relationship types between a parent object and another object through a managed property.

Enumerator
None 

The default value, indicating all values are cleared

LazyLoad 

Property is a reference to a lazy loaded object.

Attempting to get or read the property value prior to a set or load will result in an exception.

PrivateField 

Property is stored in a private field.

Attemting to read or write the property in FieldManager (managed fields) will throw an exception. NonGeneric ReadProperty/LoadProperty will call property get/set methods.

Definition at line 18 of file RelationshipTypes.cs.

◆ TransactionalTypes

Provides a list of possible transactional technologies to be used by the server-side DataPortal.

Enumerator
Manual 

Causes the server-side DataPortal to use no explicit transactional technology.

This option allows the business developer to implement their own transactions. Common options include ADO.NET transactions and System.Transactions TransactionScope.

TransactionScope 

Causes the server-side DataPortal to use System.Transactions TransactionScope style transactions.

EnterpriseServices 

Causes the server-side DataPortal to use Enterprise Services (COM+) transactions.

Definition at line 16 of file TransactionalTypes.cs.

◆ TransactionIsolationLevel

Specifies an isolation level for transactions controlled by TransactionalAttribute

Enumerator
Unspecified 

Shows that different isolation level than the one specified is being used, but the level cannot be determined.

An exception is thrown if this value is set. Default.

Serializable 

Prevents updating or inserting until the transaction is complete.

RepeatableRead 

Locks are placed on all data that is used in a query, preventing other users from updating the data.

Prevents non-repeatable reads, but phantom rows are still possible.

ReadCommitted 

Shared locks are held while the data is being read to avoid reading modified data, but the data can be changed before the end of the transaction, resulting in non-repeatable reads or phantom data.

ReadUncommitted 

Shared locks are issued and no exclusive locks are honored.

Definition at line 14 of file TransactionIsolationLevel.cs.

Function Documentation

◆ FilterProvider()

delegate bool Csla.FilterProvider ( object  item,
object  filter 
)

Defines the method signature for a filter provider method used by FilteredBindingList.

Parameters
itemThe object to be filtered.
filterThe filter criteria.
Returns
true if the item matches the filter.