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.
CreateRequest.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="CreateRequest.cs" company="Marimer LLC">
3
// Copyright (c) Marimer LLC. All rights reserved.
4
// Website: https://cslanet.com
5
// </copyright>
6
// <summary>Request message for creating</summary>
7
//-----------------------------------------------------------------------
8
using
System;
9
using
System.Runtime.Serialization;
10
11
namespace
Csla.Server.Hosts.WcfChannel
12
{
17
[DataContract]
18
public
class
CreateRequest
19
{
20
[DataMember]
21
private
Type _objectType;
22
[DataMember]
23
private
object
_criteria;
24
[DataMember]
25
private
Csla
.
Server
.
DataPortalContext
_context;
26
33
public
CreateRequest
(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.CreateRequest
Request message for creating a new business object.
Definition:
CreateRequest.cs:19
Csla.Server.Hosts.WcfChannel.CreateRequest.Criteria
object Criteria
Criteria object describing business object.
Definition:
CreateRequest.cs:53
Csla.Server.Hosts.WcfChannel.CreateRequest.ObjectType
Type ObjectType
Type of business object to create.
Definition:
CreateRequest.cs:44
Csla.Server.Hosts.WcfChannel.CreateRequest.CreateRequest
CreateRequest(Type objectType, object criteria, Csla.Server.DataPortalContext context)
Create new instance of object.
Definition:
CreateRequest.cs:33
Csla.Server.Hosts.WcfChannel.CreateRequest.Context
Csla.Server.DataPortalContext Context
Data portal context from client.
Definition:
CreateRequest.cs:62
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