C# Class VelocityDBExtensions.Utilities

Currently only used by Database Manager
Show file Open project: VelocityDB/VelocityDB

Public Methods

Method Description
ArrayToString ( Array array, bool isEncodedOidArray, Page page, string prefix = "\t" ) : string

Outputs a string representing an array

ToStringDetails ( DataMember member, object obj, IOptimizedPersistable pObj, Page page, bool skipArrays ) : string

This is a support function for the VelocityDbBrowser. It converts a field into a string.

ToStringDetails ( this pObj, Schema schema, TypeVersion typeVersion, bool skipArrays ) : string

Currently only used by Database Manager

ToStringDetails ( this pObj, SessionBase session, bool skipArrays = true ) : string

Object details as a string

Private Methods

Method Description
ToStringDetails ( object obj, Schema schema, Page page, TypeVersion _shape, bool skipArrays ) : string

Method Details

ArrayToString() public static method

Outputs a string representing an array
public static ArrayToString ( Array array, bool isEncodedOidArray, Page page, string prefix = "\t" ) : string
array System.Array The array to represent as a string
isEncodedOidArray bool True if is encoded as a UInt32 or UInt64
page Page The page containing the array
prefix string A prefix to use before each array element in the output string
return string

ToStringDetails() public static method

This is a support function for the VelocityDbBrowser. It converts a field into a string.
public static ToStringDetails ( DataMember member, object obj, IOptimizedPersistable pObj, Page page, bool skipArrays ) : string
member DataMember A field in an object
obj object The object containing the field
pObj IOptimizedPersistable The object containing the field or the owner of the object containing the field
page Page The page of the object
skipArrays bool Option to skip arrays of the object
return string

ToStringDetails() static public method

Currently only used by Database Manager
static public ToStringDetails ( this pObj, Schema schema, TypeVersion typeVersion, bool skipArrays ) : string
pObj this Object for which we want detailed to string data
schema Schema The active schema
typeVersion TypeVersion describes the type of the pObj
skipArrays bool if true include array data in generated string
return string

ToStringDetails() static public method

Object details as a string
static public ToStringDetails ( this pObj, SessionBase session, bool skipArrays = true ) : string
pObj this
session SessionBase The session managing this object
skipArrays bool Indicates if string should contain detailed array data.
return string