Click or drag to resize

DataMember Class

Info about a data Field of a persistent object
Inheritance Hierarchy

Namespace:  VelocityDb.TypeInfo
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
[SerializableAttribute]
public class DataMember : OptimizedPersistable, IEquatable<DataMember>

The DataMember type exposes the following members.

Properties
  NameDescription
Public propertyAllowOtherTypesOnSamePage
Objects can be stored more efficiently if all object types on the page share the same type. By default mixed types are allowed. Override this to return false for types that should not share pages with other types.
(Overrides OptimizedPersistableAllowOtherTypesOnSamePage.)
Public propertyField
The managed field
Public propertyFieldName
Name of managed field
Public propertyFieldType
Declared Type of this field
Public propertyGetTypeCode
Get the type code for a field
Public propertyHasId
Does this field have an Oid?
Public propertyIsGuid
true if field is of type Guid
Public propertyIsInterface
true if field is if type interface
Public propertyWeakIOptimizedPersistableReference
Is this field a VelocityDb.WeakIOptimizedPersistableReference
Top
Methods
  NameDescription
Public methodStatic memberDecodeToArray
Used by code generator for reading objects.
Public methodStatic memberDecodeToString
Used by code generator.
Public methodEquals
Determines whether two DataMember instances are equal.
Public methodGetField
Get FieldInfo for the fields VelocityDB cares about
Public methodGetMemberValue
Gets the value of a member within a specified object
Public methodStatic memberGetTypeFromAnyAssemblyVersion
Load type using GetType(String), and if fails, attempt to load same type from an assembly by assembly name, without specifying assembly version or any other part of the signature
Public methodInitializeAfterRead
Sets up some transient fields
(Overrides OptimizedPersistableInitializeAfterRead(SessionBase).)
Public methodStatic memberisNull
Determines if given bytes represents null
Public methodStatic memberisShortOidNull
Determines if given bytes represent a null short reference
Public methodReadMe
Used by code generator
(Overrides OptimizedPersistableReadMe(TypeVersion, Byte, Int32, SessionBase, Page, Boolean, Schema, Boolean, ListIOptimizedPersistable, Int32, Int32, Boolean).)
Public methodSetMemberValue
Sets the value of a field within an object
Public methodSetMemberValueWithPossibleConvert
Internal Use and in VelocityDBExtensions
Public methodStatic memberStringToType
Used by code generator.
Public methodToString
Override to provide more internal info in browser
(Overrides OptimizedPersistableToString.)
Public methodStatic memberTypeToString
Converts a type to a string the way VelocityDB represents it internally
Top
Extension Methods
  NameDescription
Public Extension MethodToStringDetails(SessionBase, Boolean)Overloaded.
Object details as a string
(Defined by Utilities.)
Public Extension MethodToStringDetails(Schema, TypeVersion, Boolean)Overloaded.
Currently only used by Database Manager
(Defined by Utilities.)
Top
See Also