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

Public Member Functions

 GrandChild ()
 
 GrandChild ()
 
- Public Member Functions inherited from Csla.BusinessBase< GrandChild >
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)
 

Protected Member Functions

override void OnDeserialized (System.Runtime.Serialization.StreamingContext context)
 
override object GetIdValue ()
 Override this method to return a unique identifying value for this object. More...
 
override void OnDeserialized (System.Runtime.Serialization.StreamingContext context)
 
- Protected Member Functions inherited from Csla.BusinessBase< GrandChild >
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]
 
- Properties inherited from Csla.BusinessBase< GrandChild >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from Csla.BusinessBase< GrandChild >
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/GrandChild.cs.

Constructor & Destructor Documentation

◆ GrandChild() [1/2]

Csla.Test.Basic.GrandChild.GrandChild ( )

Definition at line 39 of file csla.netcore.test/Basic/GrandChild.cs.

◆ GrandChild() [2/2]

Csla.Test.Basic.GrandChild.GrandChild ( )

Definition at line 52 of file Csla.test/Basic/GrandChild.cs.

Member Function Documentation

◆ GetIdValue()

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

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

Reimplemented from Csla.BusinessBase< GrandChild >.

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

◆ OnDeserialized() [1/2]

override void Csla.Test.Basic.GrandChild.OnDeserialized ( System.Runtime.Serialization.StreamingContext  context)
protected

Definition at line 70 of file csla.netcore.test/Basic/GrandChild.cs.

◆ OnDeserialized() [2/2]

override void Csla.Test.Basic.GrandChild.OnDeserialized ( System.Runtime.Serialization.StreamingContext  context)
protected

Definition at line 83 of file Csla.test/Basic/GrandChild.cs.

Member Data Documentation

◆ DataProperty

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

Definition at line 18 of file csla.netcore.test/Basic/GrandChild.cs.

Property Documentation

◆ Data

string Csla.Test.Basic.GrandChild.Data
getset

Definition at line 19 of file csla.netcore.test/Basic/GrandChild.cs.