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.
ReadOnly/MockReadOnly.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="MockReadOnly.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
//-----------------------------------------------------------------------
8
using
System;
9
using
System.Net;
10
using
System.Windows;
11
#if !__ANDROID__
12
using
System.Windows.Controls;
13
using
System.Windows.Documents;
14
using
System.Windows.Ink;
15
using
System.Windows.Input;
16
using
System.Windows.Media;
17
using
System.Windows.Media.Animation;
18
using
System.Windows.Shapes;
19
#endif
20
using
Csla
;
21
using
Csla
.
Serialization
;
22
23
namespace
cslalighttest.ReadOnly
24
{
25
[
Serializable
]
26
public
class
MockReadOnly
:
BusinessBase
<MockReadOnly>
27
{
28
public
MockReadOnly
() { }
29
30
public
static
readonly
PropertyInfo<int>
IdProperty
= RegisterProperty<int>(
31
typeof(
MockReadOnly
),
32
new
PropertyInfo<int>
(
"Id"
));
33
34
public
int
Id
35
{
36
get
{
return
GetProperty<int>(
IdProperty
); }
37
}
38
}
39
}
Csla.BusinessBase
This is the base class from which most business objects will be derived.
Definition:
BusinessBase.cs:38
Csla.PropertyInfo
Maintains metadata about a property.
Definition:
Csla/PropertyInfo.cs:22
cslalighttest.ReadOnly.MockReadOnly
Definition:
ReadOnly/MockReadOnly.cs:27
cslalighttest.ReadOnly.MockReadOnly.Id
int Id
Definition:
ReadOnly/MockReadOnly.cs:35
cslalighttest.ReadOnly.MockReadOnly.IdProperty
static readonly PropertyInfo< int > IdProperty
Definition:
ReadOnly/MockReadOnly.cs:30
cslalighttest.ReadOnly.MockReadOnly.MockReadOnly
MockReadOnly()
Definition:
ReadOnly/MockReadOnly.cs:28
Csla.Serialization
Definition:
AutoNonSerializedAttribute.cs:11
Csla
Definition:
BusinessRuleCases.cs:5
Csla.TransactionIsolationLevel.Serializable
@ Serializable
Prevents updating or inserting until the transaction is complete.
cslalighttest.ReadOnly
Definition:
ReadOnly/MockReadOnly.cs:24
Generated by
1.9.2