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.ChildrenByInterface.Item1 Class Reference
Inheritance diagram for Csla.Test.ChildrenByInterface.Item1:
Csla.BusinessBase< Item1 > Csla.Test.ChildrenByInterface.IItem Csla.Core.IEditableBusinessObject Csla.Core.IBusinessObject Csla.Core.ISupportUndo Csla.Core.IUndoableObject Csla.Core.ITrackStatus Csla.Core.INotifyBusy Csla.Core.INotifyUnhandledAsyncException

Public Member Functions

 Item1 ()
 
- Public Member Functions inherited from Csla.BusinessBase< Item1 >
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...
 
- Public Member Functions inherited from Csla.Core.IEditableBusinessObject
void DeleteChild ()
 Called by a parent object to mark the child for deferred deletion. More...
 
void SetParent (IParent parent)
 Used by BusinessListBase as a child object is created to tell the child object about its parent. More...
 
void Delete ()
 Marks the object for deletion. More...
 
- Public Member Functions inherited from Csla.Core.ISupportUndo
void BeginEdit ()
 Starts a nested edit on the object. More...
 
void CancelEdit ()
 Cancels the current edit process, restoring the object's state to its previous values. More...
 
void ApplyEdit ()
 Commits the current edit process. More...
 
- Public Member Functions inherited from Csla.Core.IUndoableObject
void CopyState (int parentEditLevel, bool parentBindingEdit)
 Copies the state of the object and places the copy onto the state stack. More...
 
void UndoChanges (int parentEditLevel, bool parentBindingEdit)
 Restores the object's state to the most recently copied values from the state stack. More...
 
void AcceptChanges (int parentEditLevel, bool parentBindingEdit)
 Accepts any changes made to the object since the last state copy was made. More...
 

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< Item1 >
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...
 

Additional Inherited Members

- Static Protected Member Functions inherited from Csla.BusinessBase< Item1 >
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...
 
- Properties inherited from Csla.BusinessBase< Item1 >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 
- Properties inherited from Csla.Core.IEditableBusinessObject
int EditLevelAdded [getset]
 For internal use only!! More...
 
- Properties inherited from Csla.Core.IBusinessObject
int Identity [get]
 Gets a value representing this object instance's unique identity value within the business object graph. More...
 
- Properties inherited from Csla.Core.IUndoableObject
int EditLevel [get]
 Gets the current edit level of the object. More...
 
- Properties inherited from Csla.Core.ITrackStatus
bool IsValid [get]
 Returns true if the object and its child objects are currently valid, false if the object or any of its child objects have broken rules or are otherwise invalid. More...
 
bool IsSelfValid [get]
 Returns true if the object is currently valid, false if the object has broken rules or is otherwise invalid. More...
 
bool IsDirty [get]
 Returns true if this object's data, or any of its fields or child objects data, has been changed. More...
 
bool IsSelfDirty [get]
 Returns true if this object's data has been changed. More...
 
bool IsDeleted [get]
 Returns true if this object is marked for deletion. More...
 
bool IsNew [get]
 Returns true if this is a new object, false if it is a pre-existing object. More...
 
bool IsSavable [get]
 Returns true if this object is both dirty and valid. More...
 
bool IsChild [get]
 Returns true if this is a child object, false if it is a root object. More...
 
- Properties inherited from Csla.Core.INotifyBusy
bool IsBusy [get]
 Gets a value indicating whether the object, or any of the object's child objects, are busy running an asynchronous operation. More...
 
bool IsSelfBusy [get]
 Gets a value indicating whether the object is busy running an asynchronous operation. More...
 
- Events inherited from Csla.Core.INotifyBusy
BusyChangedEventHandler BusyChanged
 Event raised when the object's busy status changes. More...
 
- Events inherited from Csla.Core.INotifyUnhandledAsyncException
EventHandler< ErrorEventArgsUnhandledAsyncException
 Event indicating that an exception occurred during an asynchronous operation. More...
 

Detailed Description

Definition at line 44 of file ChildInterfaceTests.cs.

Constructor & Destructor Documentation

◆ Item1()

Csla.Test.ChildrenByInterface.Item1.Item1 ( )

Definition at line 46 of file ChildInterfaceTests.cs.

Member Function Documentation

◆ GetIdValue()

override object Csla.Test.ChildrenByInterface.Item1.GetIdValue ( )
protectedvirtual

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

Reimplemented from Csla.BusinessBase< Item1 >.

Definition at line 51 of file ChildInterfaceTests.cs.