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

Static Public Member Functions

static EditableGetSetRuleValidation NewEditableGetSetValidation (IDataPortal< EditableGetSetRuleValidation > dataPortal)
 

Static Public Attributes

static readonly PropertyInfo< System.String > _memberBackedIdProperty = RegisterProperty<System.String>(p => p.MemberBackedId, RelationshipTypes.PrivateField)
 
static readonly PropertyInfo< System.String > _memberBackedIdWithNoRelationshipTypesProperty = RegisterProperty<System.String>(p => p.MemberBackedIdWithNoRelationshipTypes, string.Empty)
 
static readonly PropertyInfo< System.String > _idProperty = RegisterProperty<System.String>(p => p.Id, string.Empty)
 

Protected Member Functions

override void AddBusinessRules ()
 
void DataPortal_Create ()
 
- Protected Member Functions inherited from Csla.BusinessBase< EditableGetSetRuleValidation >
virtual object GetIdValue ()
 Override this method to return a unique identifying value for this object. More...
 
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

System.String MemberBackedId [getset]
 
System.String MemberBackedIdWithNoRelationshipTypes [getset]
 
System.String Id [getset]
 
- Properties inherited from Csla.BusinessBase< EditableGetSetRuleValidation >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

- Public Member Functions inherited from Csla.BusinessBase< EditableGetSetRuleValidation >
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 Protected Member Functions inherited from Csla.BusinessBase< EditableGetSetRuleValidation >
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 EditableGetSetRuleValidation.cs.

Member Function Documentation

◆ AddBusinessRules()

override void Csla.Test.PropertyGetSet.EditableGetSetRuleValidation.AddBusinessRules ( )
protected

Definition at line 20 of file EditableGetSetRuleValidation.cs.

◆ DataPortal_Create()

void Csla.Test.PropertyGetSet.EditableGetSetRuleValidation.DataPortal_Create ( )
protected

Definition at line 65 of file EditableGetSetRuleValidation.cs.

◆ NewEditableGetSetValidation()

static EditableGetSetRuleValidation Csla.Test.PropertyGetSet.EditableGetSetRuleValidation.NewEditableGetSetValidation ( IDataPortal< EditableGetSetRuleValidation dataPortal)
static

Definition at line 74 of file EditableGetSetRuleValidation.cs.

Member Data Documentation

◆ _idProperty

readonly PropertyInfo<System.String> Csla.Test.PropertyGetSet.EditableGetSetRuleValidation._idProperty = RegisterProperty<System.String>(p => p.Id, string.Empty)
static

Definition at line 52 of file EditableGetSetRuleValidation.cs.

◆ _memberBackedIdProperty

readonly PropertyInfo<System.String> Csla.Test.PropertyGetSet.EditableGetSetRuleValidation._memberBackedIdProperty = RegisterProperty<System.String>(p => p.MemberBackedId, RelationshipTypes.PrivateField)
static

Definition at line 36 of file EditableGetSetRuleValidation.cs.

◆ _memberBackedIdWithNoRelationshipTypesProperty

readonly PropertyInfo<System.String> Csla.Test.PropertyGetSet.EditableGetSetRuleValidation._memberBackedIdWithNoRelationshipTypesProperty = RegisterProperty<System.String>(p => p.MemberBackedIdWithNoRelationshipTypes, string.Empty)
static

Definition at line 44 of file EditableGetSetRuleValidation.cs.

Property Documentation

◆ Id

System.String Csla.Test.PropertyGetSet.EditableGetSetRuleValidation.Id
getset

Definition at line 53 of file EditableGetSetRuleValidation.cs.

◆ MemberBackedId

System.String Csla.Test.PropertyGetSet.EditableGetSetRuleValidation.MemberBackedId
getset

Definition at line 38 of file EditableGetSetRuleValidation.cs.

◆ MemberBackedIdWithNoRelationshipTypes

System.String Csla.Test.PropertyGetSet.EditableGetSetRuleValidation.MemberBackedIdWithNoRelationshipTypes
getset

Definition at line 46 of file EditableGetSetRuleValidation.cs.