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.Test.Basic.Child Class Reference
Inheritance diagram for Csla.Test.Basic.Child:
Csla.BusinessBase< Child > Csla.BusinessBase< Child >

Public Member Functions

override bool Equals (object obj)
 
override int GetHashCode ()
 
 Child ()
 
- Public Member Functions inherited from Csla.BusinessBase< Child >
override string ToString ()
 Returns a text representation of this object by returning the GetIdValue value in text form. More...
 
Clone ()
 Creates a clone of the object. More...
 
Save ()
 Saves the object to the database. More...
 
Save (bool forceUpdate)
 Saves the object to the database, forcing IsNew to false and IsDirty to True. More...
 
async Task< T > SaveAsync ()
 Saves the object to the database. More...
 
async Task< T > SaveAsync (bool forceUpdate)
 Saves the object to the database. More...
 
async Task SaveAndMergeAsync ()
 Saves the object to the database, merging any resulting updates into the existing object graph. More...
 
async Task SaveAndMergeAsync (bool forceUpdate)
 Saves the object to the database, merging any resulting updates into the existing object graph. More...
 

Static Public Attributes

static readonly PropertyInfo< string > DataProperty = RegisterProperty<string>(c => c.Data)
 
static readonly PropertyInfo< GrandChildrenGrandChildrenProperty = RegisterProperty<GrandChildren>(c => c.GrandChildren)
 
static PropertyInfo< string > DataProperty = RegisterProperty<string>(nameof(Data))
 
static PropertyInfo< GuidGuidProperty = RegisterProperty<Guid>(nameof(Guid))
 
static PropertyInfo< GrandChildrenGrandChildrenProperty = RegisterProperty<GrandChildren>(c => c.GrandChildren)
 

Protected Member Functions

override object GetIdValue ()
 Override this method to return a unique identifying value for this object. More...
 
- Protected Member Functions inherited from Csla.BusinessBase< Child >
virtual async Task< T > SaveAsync (bool forceUpdate, object userState, bool isSync)
 Saves the object to the database. More...
 
virtual void OnSaved (T newObject, Exception e, object userState)
 Raises the Saved event, indicating that the object has been saved, and providing a reference to the new object instance. More...
 

Properties

string Data [getset]
 
Guid Guid [get]
 
GrandChildren GrandChildren [get]
 
- Properties inherited from Csla.BusinessBase< Child >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from Csla.BusinessBase< Child >
static PropertyInfo< P > RegisterProperty< P > (PropertyInfo< P > info)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static MethodInfo RegisterMethod (string methodName)
 Registers a method for use in Authorization. More...
 
static MethodInfo RegisterMethod (Expression< Action< T > > methodLambdaExpression)
 Registers a method for use in Authorization. More...
 

Detailed Description

Definition at line 16 of file csla.netcore.test/Basic/Child.cs.

Constructor & Destructor Documentation

◆ Child()

Csla.Test.Basic.Child.Child ( )

Definition at line 70 of file Csla.test/Basic/Child.cs.

Member Function Documentation

◆ Equals()

override bool Csla.Test.Basic.Child.Equals ( object  obj)

Definition at line 33 of file Csla.test/Basic/Child.cs.

◆ GetHashCode()

override int Csla.Test.Basic.Child.GetHashCode ( )

Definition at line 43 of file Csla.test/Basic/Child.cs.

◆ GetIdValue()

override object Csla.Test.Basic.Child.GetIdValue ( )
protectedvirtual

Override this method to return a unique identifying value for this object.

Reimplemented from Csla.BusinessBase< Child >.

Definition at line 22 of file Csla.test/Basic/Child.cs.

Member Data Documentation

◆ DataProperty [1/2]

readonly PropertyInfo<string> Csla.Test.Basic.Child.DataProperty = RegisterProperty<string>(c => c.Data)
static

Definition at line 20 of file csla.netcore.test/Basic/Child.cs.

◆ DataProperty [2/2]

PropertyInfo<string> Csla.Test.Basic.Child.DataProperty = RegisterProperty<string>(nameof(Data))
static

Definition at line 18 of file Csla.test/Basic/Child.cs.

◆ GrandChildrenProperty [1/2]

readonly PropertyInfo<GrandChildren> Csla.Test.Basic.Child.GrandChildrenProperty = RegisterProperty<GrandChildren>(c => c.GrandChildren)
static

Definition at line 32 of file csla.netcore.test/Basic/Child.cs.

◆ GrandChildrenProperty [2/2]

PropertyInfo<GrandChildren> Csla.Test.Basic.Child.GrandChildrenProperty = RegisterProperty<GrandChildren>(c => c.GrandChildren)
static

Definition at line 20 of file Csla.test/Basic/Child.cs.

◆ GuidProperty

PropertyInfo<Guid> Csla.Test.Basic.Child.GuidProperty = RegisterProperty<Guid>(nameof(Guid))
static

Definition at line 19 of file Csla.test/Basic/Child.cs.

Property Documentation

◆ Data

string Csla.Test.Basic.Child.Data
getset

Definition at line 21 of file csla.netcore.test/Basic/Child.cs.

◆ GrandChildren

GrandChildren Csla.Test.Basic.Child.GrandChildren
get

Definition at line 33 of file csla.netcore.test/Basic/Child.cs.

◆ Guid

Guid Csla.Test.Basic.Child.Guid
get

Definition at line 27 of file csla.netcore.test/Basic/Child.cs.