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.
DataPortalServerResourceAttribute.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="DataPortalServerResourceAttribute.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Specifies a server resource required by a business type</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla
11{
17 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
18 public class DataPortalServerResourceAttribute : Attribute
19 {
23 public int ResourceId { get; private set; }
24
29 public DataPortalServerResourceAttribute(int resourceId)
30 {
31 ResourceId = resourceId;
32 }
33 }
34}
Specifies a server resource required by a business type so the data portal can route any calls to the...
DataPortalServerResourceAttribute(int resourceId)
Creates an instance of this attribute.