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.
DeleteRequest.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="DeleteRequest.cs" company="Marimer LLC">
3
// Copyright (c) Marimer LLC. All rights reserved.
4
// Website: https://cslanet.com
5
// </copyright>
6
// <summary>Request message for deleting</summary>
7
//-----------------------------------------------------------------------
8
using
System;
9
using
System.Runtime.Serialization;
10
11
namespace
Csla.Server.Hosts.WcfChannel
12
{
17
[DataContract]
18
public
class
DeleteRequest
19
{
20
[DataMember]
21
private
Type _objectType;
22
[DataMember]
23
private
object
_criteria;
24
[DataMember]
25
private
Csla
.
Server
.
DataPortalContext
_context;
26
33
public
DeleteRequest
(Type objectType,
object
criteria,
Csla
.
Server
.
DataPortalContext
context)
34
{
35
_objectType = objectType;
36
_criteria = criteria;
37
_context = context;
38
}
39
43
public
Type
ObjectType
44
{
45
get
{
return
_objectType; }
46
set
{ _objectType = value; }
47
}
48
52
public
object
Criteria
53
{
54
get
{
return
_criteria; }
55
set
{ _criteria = value; }
56
}
57
61
public
Csla
.
Server
.
DataPortalContext
Context
62
{
63
get
{
return
_context; }
64
set
{ _context = value; }
65
}
66
}
67
}
Csla.Server.DataPortalContext
Provides consistent context information between the client and server DataPortal objects.
Definition:
DataPortalContext.cs:21
Csla.Server.Hosts.WcfChannel.DeleteRequest
Request message for deleting a business object.
Definition:
DeleteRequest.cs:19
Csla.Server.Hosts.WcfChannel.DeleteRequest.Criteria
object Criteria
Criteria object describing business object.
Definition:
DeleteRequest.cs:53
Csla.Server.Hosts.WcfChannel.DeleteRequest.DeleteRequest
DeleteRequest(Type objectType, object criteria, Csla.Server.DataPortalContext context)
Create new instance of object.
Definition:
DeleteRequest.cs:33
Csla.Server.Hosts.WcfChannel.DeleteRequest.Context
Csla.Server.DataPortalContext Context
Data portal context from client.
Definition:
DeleteRequest.cs:62
Csla.Server.Hosts.WcfChannel.DeleteRequest.ObjectType
Type ObjectType
Type being requested.
Definition:
DeleteRequest.cs:44
Csla.Server.Hosts.WcfChannel
Definition:
CreateRequest.cs:12
Csla.Server
Definition:
BrokeredPortal.cs:9
Csla
Definition:
Csla.AspNetCore.Shared/ApplicationContextManager.cs:16
Generated by
1.9.2