9using System.Collections.Generic;
16using System.Diagnostics;
38 if (CanReadProperty(
"FirstName"))
49 if (CanWriteProperty(
"FirstName"))
89 private class Criteria
100 _firstName =
"default value";
This is the base class from which most business objects will be derived.
static MethodInfo RegisterMethod(string methodName)
Registers a method for use in Authorization.
Maintains metadata about a property.
Tracks the business rules for a business object.
void AddRule(IBusinessRuleBase rule)
Associates a business rule with the business object.
IsInRole authorization rule.
static readonly Csla.Core.IMemberInfo DoWorkMethod
static void AddObjectAuthorizationRules()
override object GetIdValue()
Override this method to return a unique identifying value for this object.
static PropertyInfo< string > FirstNameProperty
override void AddBusinessRules()
Maintains metadata about a method or property.
AuthorizationActions
Authorization actions.
@ Serializable
Prevents updating or inserting until the transaction is complete.
@ Create
Create operation.