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.
MobileUpdateRequest.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="MobileUpdateRequest.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Class that will be used to execute an Update request from a client.</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Security.Principal;
10using Csla.Core;
11
13{
18 {
22 public object ObjectToUpdate { get; set; }
26 public IPrincipal Principal { get; set; }
30 public ContextDictionary GlobalContext { get; set; }
34 public ContextDictionary ClientContext { get; set; }
38 public string ClientCulture { get; set; }
42 public string ClientUICulture { get; set; }
43
54 object objectToUpdate,
55 IPrincipal principal,
56 ContextDictionary globalContext,
57 ContextDictionary clientContext,
58 string clientCulture,
59 string clientUICulture)
60 {
61 ObjectToUpdate = objectToUpdate;
62 Principal = principal;
63 GlobalContext = globalContext;
64 ClientContext = clientContext;
65 ClientCulture = clientCulture;
66 ClientUICulture = clientUICulture;
67 }
68 }
69}
Dictionary type that is serializable with the SerializationFormatterFactory.GetFormatter().
Class that will be used to execute an Update request from a client.
IPrincipal Principal
Principal that will be set for the request
ContextDictionary GlobalContext
Global context object.
object ObjectToUpdate
Business object that will be updated.
MobileUpdateRequest(object objectToUpdate, IPrincipal principal, ContextDictionary globalContext, ContextDictionary clientContext, string clientCulture, string clientUICulture)
New instance of criteria object
ContextDictionary ClientContext
Client context object.
Interface for all requests from client