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.ObjectFactory.RootFactory Class Reference
Inheritance diagram for Csla.Test.ObjectFactory.RootFactory:
Csla.Server.ObjectFactory

Public Member Functions

 RootFactory (ApplicationContext applicationContext)
 
object Create ()
 
object Create (int test)
 
object Create (string criteria)
 
object Fetch ()
 
object Fetch (string criteria)
 
object Update (Root obj)
 
object Update2 (Root obj)
 
object Update3 (Root obj)
 
void Delete (string criteria)
 
void Invoke (Csla.DataPortalEventArgs args)
 
- Public Member Functions inherited from Csla.Server.ObjectFactory
 ObjectFactory (ApplicationContext applicationContext)
 Creates an instance of the type. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Csla.Server.ObjectFactory
void SetIsReadOnly (object obj, bool value)
 Sets the IsReadOnly property on the specified object, if possible. More...
 
void CheckRules (object obj)
 Calls the ValidationRules.CheckRules() method on the specified object, if possible. More...
 
void MarkOld (object obj)
 Calls the MarkOld method on the specified object, if possible. More...
 
void MarkNew (object obj)
 Calls the MarkNew method on the specified object, if possible. More...
 
void MarkAsChild (object obj)
 Calls the MarkAsChild method on the specified object, if possible. More...
 
void LoadProperty< P > (object obj, PropertyInfo< P > propertyInfo, P newValue)
 Loads a property's managed field with the supplied value. More...
 
void LoadProperty (object obj, IPropertyInfo propertyInfo, object newValue)
 Loads a property's managed field with the supplied value. More...
 
ReadProperty< P > (object obj, PropertyInfo< P > propertyInfo)
 Reads a property's managed field value. More...
 
object ReadProperty (object obj, IPropertyInfo propertyInfo)
 Reads a property's managed field value. More...
 
IDisposable BypassPropertyChecks (Csla.Core.BusinessBase businessObject)
 By wrapping this property inside Using block you can set property values on businessObject business object without raising PropertyChanged events and checking user rights. More...
 
bool FieldExists (object obj, Csla.Core.IPropertyInfo property)
 Gets a value indicating whether a managed field exists for the specified property. More...
 
Csla.Core.MobileList< C > GetDeletedList< C > (object obj)
 Gets the list of deleted items from an editable collection. More...
 
- Properties inherited from Csla.Server.ObjectFactory
ApplicationContext ApplicationContext [getset]
 Gets a reference to the current ApplicationContext. More...
 

Detailed Description

Definition at line 15 of file RootFactory.cs.

Constructor & Destructor Documentation

◆ RootFactory()

Csla.Test.ObjectFactory.RootFactory.RootFactory ( ApplicationContext  applicationContext)

Definition at line 17 of file RootFactory.cs.

Member Function Documentation

◆ Create() [1/3]

object Csla.Test.ObjectFactory.RootFactory.Create ( )

Definition at line 20 of file RootFactory.cs.

◆ Create() [2/3]

object Csla.Test.ObjectFactory.RootFactory.Create ( int  test)

Definition at line 29 of file RootFactory.cs.

◆ Create() [3/3]

object Csla.Test.ObjectFactory.RootFactory.Create ( string  criteria)

Definition at line 36 of file RootFactory.cs.

◆ Delete()

void Csla.Test.ObjectFactory.RootFactory.Delete ( string  criteria)

Definition at line 87 of file RootFactory.cs.

◆ Fetch() [1/2]

object Csla.Test.ObjectFactory.RootFactory.Fetch ( )

Definition at line 45 of file RootFactory.cs.

◆ Fetch() [2/2]

object Csla.Test.ObjectFactory.RootFactory.Fetch ( string  criteria)

Definition at line 53 of file RootFactory.cs.

◆ Invoke()

void Csla.Test.ObjectFactory.RootFactory.Invoke ( Csla.DataPortalEventArgs  args)

Definition at line 94 of file RootFactory.cs.

◆ Update()

object Csla.Test.ObjectFactory.RootFactory.Update ( Root  obj)

Definition at line 61 of file RootFactory.cs.

◆ Update2()

object Csla.Test.ObjectFactory.RootFactory.Update2 ( Root  obj)

Definition at line 70 of file RootFactory.cs.

◆ Update3()

object Csla.Test.ObjectFactory.RootFactory.Update3 ( Root  obj)

Definition at line 79 of file RootFactory.cs.