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.
Csla.test/ValidationRules/Child.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="Child.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;
14using Csla.Core;
15
17{
19 public class Child : BusinessBase<Child>
20 {
21 private static PropertyInfo<int> IdProperty = RegisterProperty<int>(c => c.Id, "Id");
22 public int Id
23 {
24 get { return GetProperty(IdProperty); }
25 set { SetProperty(IdProperty, value); }
26 }
27 }
28}
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.