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.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MockEditableChild.partial.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="MockEditableChild.partial.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>no summary</summary>
7//-----------------------------------------------------------------------
8using System;
9
11{
12 partial class MockEditableChild
13 {
14 #region Server Factories
15
16 public static MockEditableChild Load(Guid Id, string name)
17 {
19 }
20
21 #endregion
22
23 #region Data Access
24
25 private void Child_Fetch(Guid id, string name)
26 {
27 LoadProperty<Guid>(IdProperty, id);
28 LoadProperty<string>(NameProperty, name);
29 LoadProperty<string>(DataPortalMethodProperty, "Child_Fetch");
30
31 LoadProperty<GrandChildList>(GrandChildrenProperty, GrandChildList.Load(id));
32 }
33
34 private void Child_Update()
35 {
36 LoadProperty<string>(DataPortalMethodProperty, "Child_Update");
37
39 }
40
41 #endregion
42 }
43}
Client side data portal used for making asynchronous data portal calls in .NET.
Definition: DataPortalT.cs:24
void UpdateChild(T child)
Inserts, updates or deletes an existing child business object.
Definition: DataPortalT.cs:734
T FetchChild()
Fetches an existing child business object.
Definition: DataPortalT.cs:685
static MockEditableChild Load(Guid Id, string name)