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.
EditableGetSetBase.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="EditableGetSetBase.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{
19 where T: EditableGetSetBase<T>
20 {
21 private static int _dummy;
22
24 {
25 _dummy = _dummy + 0;
26 }
27
28 private static PropertyInfo<string> BaseProperty = RegisterProperty<string>(typeof(EditableGetSetBase<T>), new PropertyInfo<string>("Base", "Base"));
29 public string Base
30 {
31 get { return GetProperty<string>(BaseProperty); }
32 set { SetProperty<string>(BaseProperty, value); }
33 }
34 }
35
38 where T : EditableGetSetNFIBase<T>
39 {
41 {
42 }
43
44 public static PropertyInfo<string> BaseProperty = RegisterProperty<string>(new PropertyInfo<string>("Base", "Base"));
45 public string Base
46 {
47 get { return GetProperty<string>(BaseProperty); }
48 set { SetProperty<string>(BaseProperty, value); }
49 }
50 }
51}
Maintains metadata about a property.
@ Serializable
Prevents updating or inserting until the transaction is complete.