9using System.Collections.Generic;
50 base.OnGetState(info, mode);
56 base.OnSetState(info, mode);
57 _name = info.GetValue<
string>(
"_name");
This is the base class from which most business objects will be derived.
Base type from which Criteria classes can be derived in a business class.
Maintains metadata about a property.
Business rule for a maximum length string.
Business rule for a required string.
Object containing the serialization data for a specific object.
void AddValue(string name, object value)
Adds a value to the serialization stream.
override void OnSetState(SerializationInfo info, StateMode mode)
override void OnGetState(SerializationInfo info, StateMode mode)
override void AddBusinessRules()
static PropertyInfo< string > NameProperty
StateMode
Indicates the reason the MobileFormatter functionality has been invoked.
@ Serializable
Prevents updating or inserting until the transaction is complete.