CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
EditableGetSetTopBase.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="EditableGetSetTopBase.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>no summary</summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Collections.Generic;
10using System.Linq;
11using System.Text;
12using Csla;
14
16{
18 public class EditableGetSetTopBase<T> : BusinessBase<T>
19 where T: EditableGetSetTopBase<T>
20 {
21 private static int _dummy;
22
24 {
25 _dummy = _dummy + 0;
26 }
27
28 private static PropertyInfo<string> TopBaseProperty = RegisterProperty<string>(new PropertyInfo<string>("TopBase", "TopBase"));
29 public string TopBase
30 {
31 get { return GetProperty<string>(TopBaseProperty); }
32 set { SetProperty<string>(TopBaseProperty, value); }
33 }
34 }
35
38 where T : EditableGetSetTopNFIBase<T>
39 {
41 {
42 }
43
44 public static PropertyInfo<string> TopBaseProperty = RegisterProperty<string>(new PropertyInfo<string>("TopBase", "TopBase"));
45 public string TopBase
46 {
47 get { return GetProperty<string>(TopBaseProperty); }
48 set { SetProperty<string>(TopBaseProperty, value); }
49 }
50 }
51}
This is the base class from which most business objects will be derived.
Definition: BusinessBase.cs:38
Maintains metadata about a property.
@ Serializable
Prevents updating or inserting until the transaction is complete.