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.
Server/Hosts/IWcfPortal.cs
Go to the documentation of this file.
1#if !NETSTANDARD2_0 && !NET5_0
2//-----------------------------------------------------------------------
3// <copyright file="IWcfPortal.cs" company="Marimer LLC">
4// Copyright (c) Marimer LLC. All rights reserved.
5// Website: https://cslanet.com
6// </copyright>
7// <summary>Defines the service contract for the WCF data</summary>
8//-----------------------------------------------------------------------
9using System.ServiceModel;
11using System.Threading.Tasks;
12
13namespace Csla.Server.Hosts
14{
19 [ServiceContract(Namespace="http://ws.lhotka.net/WcfDataPortal")]
20 public interface IWcfPortal
21 {
26 [OperationContract]
27 [UseNetDataContract]
28 Task<WcfResponse> Create(CreateRequest request);
33 [OperationContract]
34 [UseNetDataContract]
35 Task<WcfResponse> Fetch(FetchRequest request);
40 [OperationContract]
41 [UseNetDataContract]
42 Task<WcfResponse> Update(UpdateRequest request);
47 [OperationContract]
48 [UseNetDataContract]
49 Task<WcfResponse> Delete(DeleteRequest request);
50 }
51}
52#endif
Request message for creating a new business object.
Request message for deleting a business object.
Request message for retrieving an existing business object.
Definition: FetchRequest.cs:19
Request message for updating a business object.
Defines the service contract for the WCF data portal.
Task< WcfResponse > Update(UpdateRequest request)
Update a business object.
Task< WcfResponse > Create(CreateRequest request)
Create a new business object.
Task< WcfResponse > Delete(DeleteRequest request)
Delete a business object.
Task< WcfResponse > Fetch(FetchRequest request)
Get an existing business object.