CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Server.ChildDataPortal Class Reference

Invoke data portal methods on child objects. More...

Public Member Functions

object Create (Type objectType)
 Create a new business object. More...
 
object Create (Type objectType, params object[] parameters)
 Create a new business object. More...
 
async Task< T > CreateAsync< T > ()
 Create a new business object. More...
 
async Task< T > CreateAsync< T > (params object[] parameters)
 Create a new business object. More...
 
object Fetch (Type objectType)
 Get an existing business object. More...
 
object Fetch (Type objectType, params object[] parameters)
 Get an existing business object. More...
 
async Task< T > FetchAsync< T > ()
 Get an existing business object. More...
 
async Task< T > FetchAsync< T > (params object[] parameters)
 Get an existing business object. More...
 
void Update (object obj)
 Update a business object. More...
 
void Update (object obj, params object[] parameters)
 Update a business object. More...
 
async Task UpdateAsync (object obj)
 Update a business object. More...
 
async Task UpdateAsync (object obj, params object[] parameters)
 Update a business object. More...
 
void UpdateAll (object obj)
 Update a business object. More...
 
void UpdateAll (object obj, params object[] parameters)
 Update a business object. More...
 
async Task UpdateAllAsync (object obj)
 Update a business object. More...
 
async Task UpdateAllAsync (object obj, params object[] parameters)
 Update a business object. More...
 

Detailed Description

Invoke data portal methods on child objects.

Definition at line 18 of file ChildDataPortal.cs.

Member Function Documentation

◆ Create() [1/2]

object Csla.Server.ChildDataPortal.Create ( Type  objectType)

Create a new business object.

Parameters
objectTypeType of business object to create.

Definition at line 24 of file ChildDataPortal.cs.

◆ Create() [2/2]

object Csla.Server.ChildDataPortal.Create ( Type  objectType,
params object[]  parameters 
)

Create a new business object.

Parameters
objectTypeType of business object to create.
parametersCriteria parameters passed from caller.

Definition at line 43 of file ChildDataPortal.cs.

◆ CreateAsync< T >() [1/2]

async Task< T > Csla.Server.ChildDataPortal.CreateAsync< T > ( )

Create a new business object.

Definition at line 58 of file ChildDataPortal.cs.

◆ CreateAsync< T >() [2/2]

async Task< T > Csla.Server.ChildDataPortal.CreateAsync< T > ( params object[]  parameters)

Create a new business object.

Parameters
parametersCriteria parameters passed from caller.

Definition at line 69 of file ChildDataPortal.cs.

◆ Fetch() [1/2]

object Csla.Server.ChildDataPortal.Fetch ( Type  objectType)

Get an existing business object.

Parameters
objectTypeType of business object to retrieve.

Definition at line 119 of file ChildDataPortal.cs.

◆ Fetch() [2/2]

object Csla.Server.ChildDataPortal.Fetch ( Type  objectType,
params object[]  parameters 
)

Get an existing business object.

Parameters
objectTypeType of business object to retrieve.
parametersCriteria parameters passed from caller.

Definition at line 138 of file ChildDataPortal.cs.

◆ FetchAsync< T >() [1/2]

async Task< T > Csla.Server.ChildDataPortal.FetchAsync< T > ( )

Get an existing business object.

Definition at line 153 of file ChildDataPortal.cs.

◆ FetchAsync< T >() [2/2]

async Task< T > Csla.Server.ChildDataPortal.FetchAsync< T > ( params object[]  parameters)

Get an existing business object.

Parameters
parametersCriteria parameters passed from caller.

Definition at line 164 of file ChildDataPortal.cs.

◆ Update() [1/2]

void Csla.Server.ChildDataPortal.Update ( object  obj)

Update a business object.

Parameters
objBusiness object to update.

Definition at line 212 of file ChildDataPortal.cs.

◆ Update() [2/2]

void Csla.Server.ChildDataPortal.Update ( object  obj,
params object[]  parameters 
)

Update a business object.

Parameters
objBusiness object to update.
parametersParameters passed to method.

Definition at line 231 of file ChildDataPortal.cs.

◆ UpdateAll() [1/2]

void Csla.Server.ChildDataPortal.UpdateAll ( object  obj)

Update a business object.

Include objects which are not dirty.

Parameters
objBusiness object to update.

Definition at line 268 of file ChildDataPortal.cs.

◆ UpdateAll() [2/2]

void Csla.Server.ChildDataPortal.UpdateAll ( object  obj,
params object[]  parameters 
)

Update a business object.

Include objects which are not dirty.

Parameters
objBusiness object to update.
parametersParameters passed to method.

Definition at line 280 of file ChildDataPortal.cs.

◆ UpdateAllAsync() [1/2]

async Task Csla.Server.ChildDataPortal.UpdateAllAsync ( object  obj)

Update a business object.

Include objects which are not dirty.

Parameters
objBusiness object to update.

Definition at line 289 of file ChildDataPortal.cs.

◆ UpdateAllAsync() [2/2]

async Task Csla.Server.ChildDataPortal.UpdateAllAsync ( object  obj,
params object[]  parameters 
)

Update a business object.

Include objects which are not dirty.

Parameters
objBusiness object to update.
parametersParameters passed to method.

Definition at line 301 of file ChildDataPortal.cs.

◆ UpdateAsync() [1/2]

async Task Csla.Server.ChildDataPortal.UpdateAsync ( object  obj)

Update a business object.

Parameters
objBusiness object to update.

Definition at line 247 of file ChildDataPortal.cs.

◆ UpdateAsync() [2/2]

async Task Csla.Server.ChildDataPortal.UpdateAsync ( object  obj,
params object[]  parameters 
)

Update a business object.

Parameters
objBusiness object to update.
parametersParameters passed to method.

Definition at line 259 of file ChildDataPortal.cs.