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.Serialization.BinaryReaderWriterTestClass Class Reference
Inheritance diagram for Csla.Test.Serialization.BinaryReaderWriterTestClass:
Csla.BusinessBase< BinaryReaderWriterTestClass >

Public Member Functions

 BinaryReaderWriterTestClass ()
 
 BinaryReaderWriterTestClass (bool isChild)
 
void Setup ()
 
- Public Member Functions inherited from Csla.BusinessBase< BinaryReaderWriterTestClass >
override string ToString ()
 Returns a text representation of this object by returning the GetIdValue value in text form. More...
 
Clone ()
 Creates a clone of the object. More...
 
Save ()
 Saves the object to the database. More...
 
Save (bool forceUpdate)
 Saves the object to the database, forcing IsNew to false and IsDirty to True. More...
 
async Task< T > SaveAsync ()
 Saves the object to the database. More...
 
async Task< T > SaveAsync (bool forceUpdate)
 Saves the object to the database. More...
 
async Task SaveAndMergeAsync ()
 Saves the object to the database, merging any resulting updates into the existing object graph. More...
 
async Task SaveAndMergeAsync (bool forceUpdate)
 Saves the object to the database, merging any resulting updates into the existing object graph. More...
 

Static Public Attributes

static readonly PropertyInfo< RandomEnumEnumTestProperty = RegisterProperty<RandomEnum>(c => c.EnumTest)
 
static readonly PropertyInfo< bool > BoolTestProperty = RegisterProperty<bool>(c => c.BoolTest)
 
static readonly PropertyInfo< char > CharTestProperty = RegisterProperty<char>(c => c.CharTest)
 
static readonly PropertyInfo< SByte > SByteTestProperty = RegisterProperty<SByte>(c => c.SByteTest)
 
static readonly PropertyInfo< byte > ByteTestProperty = RegisterProperty<byte>(c => c.ByteTest)
 
static readonly PropertyInfo< Int16 > Int16TestProperty = RegisterProperty<Int16>(c => c.Int16Test)
 
static readonly PropertyInfo< UInt16 > UInt16TestProperty = RegisterProperty<UInt16>(c => c.UInt16Test)
 
static readonly PropertyInfo< Int32 > Int32TestProperty = RegisterProperty<Int32>(c => c.Int32Test)
 
static readonly PropertyInfo< UInt32 > UInt32TestProperty = RegisterProperty<UInt32>(c => c.UInt32Test)
 
static readonly PropertyInfo< Int64 > Int64TestProperty = RegisterProperty<Int64>(c => c.Int64Test)
 
static readonly PropertyInfo< UInt64 > UInt64TestProperty = RegisterProperty<UInt64>(c => c.UInt64Test)
 
static readonly PropertyInfo< SingleSingleTestProperty = RegisterProperty<Single>(c => c.SingleTest)
 
static readonly PropertyInfo< double > DoubleTestProperty = RegisterProperty<double>(c => c.DoubleTest)
 
static readonly PropertyInfo< decimal > DecimalTestProperty = RegisterProperty<decimal>(c => c.DecimalTest)
 
static readonly PropertyInfo< DateTime > DateTimeTestProperty = RegisterProperty<DateTime>(c => c.DateTimeTest)
 
static readonly PropertyInfo< string > StringTestProperty = RegisterProperty<string>(c => c.StringTest)
 
static readonly PropertyInfo< TimeSpan > TimeSpanTestProperty = RegisterProperty<TimeSpan>(c => c.TimeSpanTest)
 
static readonly PropertyInfo< DateTimeOffset > DateTimeOffsetTestProperty = RegisterProperty<DateTimeOffset>(c => c.DateTimeOffsetTest)
 
static readonly PropertyInfo< byte[]> ByteArrayTestProperty = RegisterProperty<byte[]>(c => c.ByteArrayTest)
 
static readonly PropertyInfo< char[]> CharArrayTestProperty = RegisterProperty<char[]>(c => c.CharArrayTest)
 
static readonly PropertyInfo< Guid > GuidTestProperty = RegisterProperty<Guid>(c => c.GuidTest)
 
static readonly PropertyInfo< int?> NullableIntProperty = RegisterProperty<int?>(c => c.NullableInt)
 
static readonly PropertyInfo< int?> NullableButSetIntProperty = RegisterProperty<int?>(c => c.NullableButSetInt)
 
static readonly PropertyInfo< Csla.SmartDateEmptySmartDateTestProperty = RegisterProperty<Csla.SmartDate>(c => c.EmptySmartDateTest)
 
static readonly PropertyInfo< Csla.SmartDateFilledSmartDateTestProperty = RegisterProperty<Csla.SmartDate>(c => c.FilledSmartDateTest)
 

Properties

RandomEnum EnumTest [getset]
 Gets or sets the EnumTest value. More...
 
bool BoolTest [getset]
 Gets or sets the BoolTest value. More...
 
char CharTest [getset]
 Gets or sets the CharTest value. More...
 
SByte SByteTest [getset]
 Gets or sets the SByteTest value. More...
 
byte ByteTest [getset]
 Gets or sets the ByteTest value. More...
 
Int16 Int16Test [getset]
 Gets or sets the Int16Test value. More...
 
UInt16 UInt16Test [getset]
 Gets or sets the UInt16Test value. More...
 
Int32 Int32Test [getset]
 Gets or sets the IntTest value. More...
 
UInt32 UInt32Test [getset]
 Gets or sets the UInt32Test value. More...
 
Int64 Int64Test [getset]
 Gets or sets the Int64Test value. More...
 
UInt64 UInt64Test [getset]
 Gets or sets the UInt64Test value. More...
 
Single SingleTest [getset]
 Gets or sets the SingleTest value. More...
 
double DoubleTest [getset]
 Gets or sets the DoubleTest value. More...
 
decimal DecimalTest [getset]
 Gets or sets the DecimalTest value. More...
 
DateTime DateTimeTest [getset]
 Gets or sets the DateTimeTest value. More...
 
string StringTest [getset]
 Gets or sets the StringTest value. More...
 
TimeSpan TimeSpanTest [getset]
 Gets or sets the TimeSpanTest value. More...
 
DateTimeOffset DateTimeOffsetTest [getset]
 Gets or sets the DateTimeOffsetTest value. More...
 
byte[] ByteArrayTest [getset]
 Gets or sets the ByteArrayTest value. More...
 
char[] CharArrayTest [getset]
 Gets or sets the CharArrayTest value. More...
 
Guid GuidTest [getset]
 Gets or sets the GuidTest value. More...
 
int? NullableInt [getset]
 Gets or sets the NullableInt value. More...
 
int? NullableButSetInt [getset]
 Gets or sets the NullableButSetInt value. More...
 
Csla.SmartDate EmptySmartDateTest [getset]
 Gets or sets the EmptySmartDateTest value. More...
 
Csla.SmartDate FilledSmartDateTest [getset]
 Gets or sets the EmptySmartDateTest value. More...
 
- Properties inherited from Csla.BusinessBase< BinaryReaderWriterTestClass >
EventHandler< Csla.Core.SavedEventArgsSaved
 Event raised when an object has been saved. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Csla.BusinessBase< BinaryReaderWriterTestClass >
virtual object GetIdValue ()
 Override this method to return a unique identifying value for this object. More...
 
virtual async Task< T > SaveAsync (bool forceUpdate, object userState, bool isSync)
 Saves the object to the database. More...
 
virtual void OnSaved (T newObject, Exception e, object userState)
 Raises the Saved event, indicating that the object has been saved, and providing a reference to the new object instance. More...
 
- Static Protected Member Functions inherited from Csla.BusinessBase< BinaryReaderWriterTestClass >
static PropertyInfo< P > RegisterProperty< P > (PropertyInfo< P > info)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static MethodInfo RegisterMethod (string methodName)
 Registers a method for use in Authorization. More...
 
static MethodInfo RegisterMethod (Expression< Action< T > > methodLambdaExpression)
 Registers a method for use in Authorization. More...
 

Detailed Description

Definition at line 47 of file BinaryReaderWriterTestClass.cs.

Constructor & Destructor Documentation

◆ BinaryReaderWriterTestClass() [1/2]

Csla.Test.Serialization.BinaryReaderWriterTestClass.BinaryReaderWriterTestClass ( )

Definition at line 50 of file BinaryReaderWriterTestClass.cs.

◆ BinaryReaderWriterTestClass() [2/2]

Csla.Test.Serialization.BinaryReaderWriterTestClass.BinaryReaderWriterTestClass ( bool  isChild)

Definition at line 55 of file BinaryReaderWriterTestClass.cs.

Member Function Documentation

◆ Setup()

void Csla.Test.Serialization.BinaryReaderWriterTestClass.Setup ( )

Definition at line 61 of file BinaryReaderWriterTestClass.cs.

Member Data Documentation

◆ BoolTestProperty

readonly PropertyInfo<bool> Csla.Test.Serialization.BinaryReaderWriterTestClass.BoolTestProperty = RegisterProperty<bool>(c => c.BoolTest)
static

Definition at line 100 of file BinaryReaderWriterTestClass.cs.

◆ ByteArrayTestProperty

readonly PropertyInfo<byte[]> Csla.Test.Serialization.BinaryReaderWriterTestClass.ByteArrayTestProperty = RegisterProperty<byte[]>(c => c.ByteArrayTest)
static

Definition at line 270 of file BinaryReaderWriterTestClass.cs.

◆ ByteTestProperty

readonly PropertyInfo<byte> Csla.Test.Serialization.BinaryReaderWriterTestClass.ByteTestProperty = RegisterProperty<byte>(c => c.ByteTest)
static

Definition at line 130 of file BinaryReaderWriterTestClass.cs.

◆ CharArrayTestProperty

readonly PropertyInfo<char[]> Csla.Test.Serialization.BinaryReaderWriterTestClass.CharArrayTestProperty = RegisterProperty<char[]>(c => c.CharArrayTest)
static

Definition at line 280 of file BinaryReaderWriterTestClass.cs.

◆ CharTestProperty

readonly PropertyInfo<char> Csla.Test.Serialization.BinaryReaderWriterTestClass.CharTestProperty = RegisterProperty<char>(c => c.CharTest)
static

Definition at line 110 of file BinaryReaderWriterTestClass.cs.

◆ DateTimeOffsetTestProperty

readonly PropertyInfo<DateTimeOffset> Csla.Test.Serialization.BinaryReaderWriterTestClass.DateTimeOffsetTestProperty = RegisterProperty<DateTimeOffset>(c => c.DateTimeOffsetTest)
static

Definition at line 260 of file BinaryReaderWriterTestClass.cs.

◆ DateTimeTestProperty

readonly PropertyInfo<DateTime> Csla.Test.Serialization.BinaryReaderWriterTestClass.DateTimeTestProperty = RegisterProperty<DateTime>(c => c.DateTimeTest)
static

Definition at line 230 of file BinaryReaderWriterTestClass.cs.

◆ DecimalTestProperty

readonly PropertyInfo<decimal> Csla.Test.Serialization.BinaryReaderWriterTestClass.DecimalTestProperty = RegisterProperty<decimal>(c => c.DecimalTest)
static

Definition at line 220 of file BinaryReaderWriterTestClass.cs.

◆ DoubleTestProperty

readonly PropertyInfo<double> Csla.Test.Serialization.BinaryReaderWriterTestClass.DoubleTestProperty = RegisterProperty<double>(c => c.DoubleTest)
static

Definition at line 210 of file BinaryReaderWriterTestClass.cs.

◆ EmptySmartDateTestProperty

readonly PropertyInfo<Csla.SmartDate> Csla.Test.Serialization.BinaryReaderWriterTestClass.EmptySmartDateTestProperty = RegisterProperty<Csla.SmartDate>(c => c.EmptySmartDateTest)
static

Definition at line 321 of file BinaryReaderWriterTestClass.cs.

◆ EnumTestProperty

readonly PropertyInfo<RandomEnum> Csla.Test.Serialization.BinaryReaderWriterTestClass.EnumTestProperty = RegisterProperty<RandomEnum>(c => c.EnumTest)
static

Definition at line 90 of file BinaryReaderWriterTestClass.cs.

◆ FilledSmartDateTestProperty

readonly PropertyInfo<Csla.SmartDate> Csla.Test.Serialization.BinaryReaderWriterTestClass.FilledSmartDateTestProperty = RegisterProperty<Csla.SmartDate>(c => c.FilledSmartDateTest)
static

Definition at line 331 of file BinaryReaderWriterTestClass.cs.

◆ GuidTestProperty

readonly PropertyInfo<Guid> Csla.Test.Serialization.BinaryReaderWriterTestClass.GuidTestProperty = RegisterProperty<Guid>(c => c.GuidTest)
static

Definition at line 290 of file BinaryReaderWriterTestClass.cs.

◆ Int16TestProperty

readonly PropertyInfo<Int16> Csla.Test.Serialization.BinaryReaderWriterTestClass.Int16TestProperty = RegisterProperty<Int16>(c => c.Int16Test)
static

Definition at line 140 of file BinaryReaderWriterTestClass.cs.

◆ Int32TestProperty

readonly PropertyInfo<Int32> Csla.Test.Serialization.BinaryReaderWriterTestClass.Int32TestProperty = RegisterProperty<Int32>(c => c.Int32Test)
static

Definition at line 160 of file BinaryReaderWriterTestClass.cs.

◆ Int64TestProperty

readonly PropertyInfo<Int64> Csla.Test.Serialization.BinaryReaderWriterTestClass.Int64TestProperty = RegisterProperty<Int64>(c => c.Int64Test)
static

Definition at line 180 of file BinaryReaderWriterTestClass.cs.

◆ NullableButSetIntProperty

readonly PropertyInfo<int?> Csla.Test.Serialization.BinaryReaderWriterTestClass.NullableButSetIntProperty = RegisterProperty<int?>(c => c.NullableButSetInt)
static

Definition at line 311 of file BinaryReaderWriterTestClass.cs.

◆ NullableIntProperty

readonly PropertyInfo<int?> Csla.Test.Serialization.BinaryReaderWriterTestClass.NullableIntProperty = RegisterProperty<int?>(c => c.NullableInt)
static

Definition at line 301 of file BinaryReaderWriterTestClass.cs.

◆ SByteTestProperty

readonly PropertyInfo<SByte> Csla.Test.Serialization.BinaryReaderWriterTestClass.SByteTestProperty = RegisterProperty<SByte>(c => c.SByteTest)
static

Definition at line 120 of file BinaryReaderWriterTestClass.cs.

◆ SingleTestProperty

readonly PropertyInfo<Single> Csla.Test.Serialization.BinaryReaderWriterTestClass.SingleTestProperty = RegisterProperty<Single>(c => c.SingleTest)
static

Definition at line 200 of file BinaryReaderWriterTestClass.cs.

◆ StringTestProperty

readonly PropertyInfo<string> Csla.Test.Serialization.BinaryReaderWriterTestClass.StringTestProperty = RegisterProperty<string>(c => c.StringTest)
static

Definition at line 240 of file BinaryReaderWriterTestClass.cs.

◆ TimeSpanTestProperty

readonly PropertyInfo<TimeSpan> Csla.Test.Serialization.BinaryReaderWriterTestClass.TimeSpanTestProperty = RegisterProperty<TimeSpan>(c => c.TimeSpanTest)
static

Definition at line 250 of file BinaryReaderWriterTestClass.cs.

◆ UInt16TestProperty

readonly PropertyInfo<UInt16> Csla.Test.Serialization.BinaryReaderWriterTestClass.UInt16TestProperty = RegisterProperty<UInt16>(c => c.UInt16Test)
static

Definition at line 150 of file BinaryReaderWriterTestClass.cs.

◆ UInt32TestProperty

readonly PropertyInfo<UInt32> Csla.Test.Serialization.BinaryReaderWriterTestClass.UInt32TestProperty = RegisterProperty<UInt32>(c => c.UInt32Test)
static

Definition at line 170 of file BinaryReaderWriterTestClass.cs.

◆ UInt64TestProperty

readonly PropertyInfo<UInt64> Csla.Test.Serialization.BinaryReaderWriterTestClass.UInt64TestProperty = RegisterProperty<UInt64>(c => c.UInt64Test)
static

Definition at line 190 of file BinaryReaderWriterTestClass.cs.

Property Documentation

◆ BoolTest

bool Csla.Test.Serialization.BinaryReaderWriterTestClass.BoolTest
getset

Gets or sets the BoolTest value.

Definition at line 104 of file BinaryReaderWriterTestClass.cs.

◆ ByteArrayTest

byte [] Csla.Test.Serialization.BinaryReaderWriterTestClass.ByteArrayTest
getset

Gets or sets the ByteArrayTest value.

Definition at line 274 of file BinaryReaderWriterTestClass.cs.

◆ ByteTest

byte Csla.Test.Serialization.BinaryReaderWriterTestClass.ByteTest
getset

Gets or sets the ByteTest value.

Definition at line 134 of file BinaryReaderWriterTestClass.cs.

◆ CharArrayTest

char [] Csla.Test.Serialization.BinaryReaderWriterTestClass.CharArrayTest
getset

Gets or sets the CharArrayTest value.

Definition at line 284 of file BinaryReaderWriterTestClass.cs.

◆ CharTest

char Csla.Test.Serialization.BinaryReaderWriterTestClass.CharTest
getset

Gets or sets the CharTest value.

Definition at line 114 of file BinaryReaderWriterTestClass.cs.

◆ DateTimeOffsetTest

DateTimeOffset Csla.Test.Serialization.BinaryReaderWriterTestClass.DateTimeOffsetTest
getset

Gets or sets the DateTimeOffsetTest value.

Definition at line 264 of file BinaryReaderWriterTestClass.cs.

◆ DateTimeTest

DateTime Csla.Test.Serialization.BinaryReaderWriterTestClass.DateTimeTest
getset

Gets or sets the DateTimeTest value.

Definition at line 234 of file BinaryReaderWriterTestClass.cs.

◆ DecimalTest

decimal Csla.Test.Serialization.BinaryReaderWriterTestClass.DecimalTest
getset

Gets or sets the DecimalTest value.

Definition at line 224 of file BinaryReaderWriterTestClass.cs.

◆ DoubleTest

double Csla.Test.Serialization.BinaryReaderWriterTestClass.DoubleTest
getset

Gets or sets the DoubleTest value.

Definition at line 214 of file BinaryReaderWriterTestClass.cs.

◆ EmptySmartDateTest

Csla.SmartDate Csla.Test.Serialization.BinaryReaderWriterTestClass.EmptySmartDateTest
getset

Gets or sets the EmptySmartDateTest value.

Definition at line 325 of file BinaryReaderWriterTestClass.cs.

◆ EnumTest

RandomEnum Csla.Test.Serialization.BinaryReaderWriterTestClass.EnumTest
getset

Gets or sets the EnumTest value.

Definition at line 94 of file BinaryReaderWriterTestClass.cs.

◆ FilledSmartDateTest

Csla.SmartDate Csla.Test.Serialization.BinaryReaderWriterTestClass.FilledSmartDateTest
getset

Gets or sets the EmptySmartDateTest value.

Definition at line 335 of file BinaryReaderWriterTestClass.cs.

◆ GuidTest

Guid Csla.Test.Serialization.BinaryReaderWriterTestClass.GuidTest
getset

Gets or sets the GuidTest value.

Definition at line 294 of file BinaryReaderWriterTestClass.cs.

◆ Int16Test

Int16 Csla.Test.Serialization.BinaryReaderWriterTestClass.Int16Test
getset

Gets or sets the Int16Test value.

Definition at line 144 of file BinaryReaderWriterTestClass.cs.

◆ Int32Test

Int32 Csla.Test.Serialization.BinaryReaderWriterTestClass.Int32Test
getset

Gets or sets the IntTest value.

Definition at line 164 of file BinaryReaderWriterTestClass.cs.

◆ Int64Test

Int64 Csla.Test.Serialization.BinaryReaderWriterTestClass.Int64Test
getset

Gets or sets the Int64Test value.

Definition at line 184 of file BinaryReaderWriterTestClass.cs.

◆ NullableButSetInt

int? Csla.Test.Serialization.BinaryReaderWriterTestClass.NullableButSetInt
getset

Gets or sets the NullableButSetInt value.

Definition at line 315 of file BinaryReaderWriterTestClass.cs.

◆ NullableInt

int? Csla.Test.Serialization.BinaryReaderWriterTestClass.NullableInt
getset

Gets or sets the NullableInt value.

Definition at line 305 of file BinaryReaderWriterTestClass.cs.

◆ SByteTest

SByte Csla.Test.Serialization.BinaryReaderWriterTestClass.SByteTest
getset

Gets or sets the SByteTest value.

Definition at line 124 of file BinaryReaderWriterTestClass.cs.

◆ SingleTest

Single Csla.Test.Serialization.BinaryReaderWriterTestClass.SingleTest
getset

Gets or sets the SingleTest value.

Definition at line 204 of file BinaryReaderWriterTestClass.cs.

◆ StringTest

string Csla.Test.Serialization.BinaryReaderWriterTestClass.StringTest
getset

Gets or sets the StringTest value.

Definition at line 244 of file BinaryReaderWriterTestClass.cs.

◆ TimeSpanTest

TimeSpan Csla.Test.Serialization.BinaryReaderWriterTestClass.TimeSpanTest
getset

Gets or sets the TimeSpanTest value.

Definition at line 254 of file BinaryReaderWriterTestClass.cs.

◆ UInt16Test

UInt16 Csla.Test.Serialization.BinaryReaderWriterTestClass.UInt16Test
getset

Gets or sets the UInt16Test value.

Definition at line 154 of file BinaryReaderWriterTestClass.cs.

◆ UInt32Test

UInt32 Csla.Test.Serialization.BinaryReaderWriterTestClass.UInt32Test
getset

Gets or sets the UInt32Test value.

Definition at line 174 of file BinaryReaderWriterTestClass.cs.

◆ UInt64Test

UInt64 Csla.Test.Serialization.BinaryReaderWriterTestClass.UInt64Test
getset

Gets or sets the UInt64Test value.

Definition at line 194 of file BinaryReaderWriterTestClass.cs.