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