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.
WcfChannel/UpdateRequest.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="UpdateRequest.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Request message for updating</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Runtime.Serialization;
10
12{
17 [DataContract]
18 public class UpdateRequest
19 {
20 [DataMember]
21 private object _object;
22 [DataMember]
23 private Csla.Server.DataPortalContext _context;
24
30 public UpdateRequest(object obj, Csla.Server.DataPortalContext context)
31 {
32 _object = obj;
33 _context = context;
34 }
35
39 public object Object
40 {
41 get { return _object; }
42 set { _object = value; }
43 }
44
49 {
50 get { return _context; }
51 set { _context = value; }
52 }
53 }
54}
Provides consistent context information between the client and server DataPortal objects.
Request message for updating a business object.
Csla.Server.DataPortalContext Context
Data portal context from client.
object Object
Business object to be updated.
UpdateRequest(object obj, Csla.Server.DataPortalContext context)
Create new instance of object.