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/Mobile/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;
10using System.Threading.Tasks;
11
13{
18 [ServiceContract(Namespace = "http://ws.lhotka.net/WcfDataPortal")]
19 public interface IWcfPortal
20 {
25 [OperationContract]
26 Task<WcfResponse> Create(CriteriaRequest request);
31 [OperationContract]
32 Task<WcfResponse> Fetch(CriteriaRequest request);
37 [OperationContract]
38 Task<WcfResponse> Update(UpdateRequest request);
43 [OperationContract]
44 Task<WcfResponse> Delete(CriteriaRequest request);
45 }
46}
47#endif
Message sent to the WCF data portal.
Message sent to the WCF data portal.
Defines the service contract for the WCF data portal.
Task< WcfResponse > Delete(CriteriaRequest request)
Delete a business object.
Task< WcfResponse > Create(CriteriaRequest request)
Create a new business object.
Task< WcfResponse > Fetch(CriteriaRequest request)
Get an existing business object.
Task< WcfResponse > Update(UpdateRequest request)
Update a business object.