Search Results for

    Show / Hide Table of Contents

    Class RecordBase

    Base implementation of the IRecord interface

    Inheritance
    System.Object
    RecordBase
    FeatureBase
    MutableRecordBase
    Implements
    IRecord
    IRecordReset
    IRecordInitialize
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: OSGeo.MapGuide.MaestroAPI.Feature
    Assembly: OSGeo.MapGuide.MaestroAPI.dll
    Syntax
    public abstract class RecordBase : IRecord, IRecordReset, IRecordInitialize

    Constructors

    | Improve this Doc View Source

    RecordBase()

    Initializes a new instance of the RecordBase class.

    Declaration
    protected RecordBase()

    Fields

    | Improve this Doc View Source

    _ordinalMap

    A dictionary to map indexes to property names

    Declaration
    protected Dictionary<int, string> _ordinalMap
    Field Value
    Type Description
    System.Collections.Generic.Dictionary<System.Int32, System.String>
    | Improve this Doc View Source

    _values

    The map of property values

    Declaration
    protected Dictionary<string, PropertyValue> _values
    Field Value
    Type Description
    System.Collections.Generic.Dictionary<System.String, PropertyValue>

    Properties

    | Improve this Doc View Source

    FieldCount

    Gets the number of fields in this record

    Declaration
    public int FieldCount { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Item[Int32]

    Gets the System.Object at the specified index.

    Declaration
    public object this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    Item[String]

    Gets the System.Object with the specified name.

    Declaration
    public object this[string name] { get; }
    Parameters
    Type Name Description
    System.String name
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    PropertyNames

    Gets the property names.

    Declaration
    public IEnumerable<string> PropertyNames { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.String>

    Methods

    | Improve this Doc View Source

    GetBlob(Int32)

    Gets the blob value at the specified index

    Declaration
    public byte[] GetBlob(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    GetBlob(String)

    Gets the blob value of the specified property

    Declaration
    public byte[] GetBlob(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Byte[]
    | Improve this Doc View Source

    GetBoolean(Int32)

    Gets the boolean value at the specified index

    Declaration
    public bool GetBoolean(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetBoolean(String)

    Gets the boolean value of the specified property

    Declaration
    public bool GetBoolean(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetByte(Int32)

    Gets the byte value at the specified index

    Declaration
    public byte GetByte(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Byte
    | Improve this Doc View Source

    GetByte(String)

    Gets the byte value of the specified property

    Declaration
    public byte GetByte(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Byte
    | Improve this Doc View Source

    GetClob(Int32)

    Gets the clob value at the specified index

    Declaration
    public char[] GetClob(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Char[]
    | Improve this Doc View Source

    GetClob(String)

    Gets the clob value of the specified property

    Declaration
    public char[] GetClob(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Char[]
    | Improve this Doc View Source

    GetDateTime(String)

    Gets the datetime value of the specified property

    Declaration
    public DateTime GetDateTime(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.DateTime
    | Improve this Doc View Source

    GetDouble(Int32)

    Gets the double value at the specified index

    Declaration
    public double GetDouble(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    GetDouble(String)

    Gets the double value of the specified property

    Declaration
    public double GetDouble(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    GetFeatureObject(Int32)

    Gets the feature object.

    Declaration
    public IFeatureReader GetFeatureObject(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Returns
    Type Description
    IFeatureReader
    | Improve this Doc View Source

    GetFeatureObject(String)

    Gets the feature object.

    Declaration
    public IFeatureReader GetFeatureObject(string name)
    Parameters
    Type Name Description
    System.String name

    The name.

    Returns
    Type Description
    IFeatureReader
    | Improve this Doc View Source

    GetFieldType(Int32)

    Gets the CLR type of the field at the specified index

    Declaration
    public Type GetFieldType(int i)
    Parameters
    Type Name Description
    System.Int32 i
    Returns
    Type Description
    System.Type
    | Improve this Doc View Source

    GetGeometry(Int32)

    Gets the geometry value at the specified index

    Declaration
    public IGeometryRef GetGeometry(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    IGeometryRef
    | Improve this Doc View Source

    GetGeometry(String)

    Gets the geometry value of the specified property

    Declaration
    public IGeometryRef GetGeometry(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    IGeometryRef
    | Improve this Doc View Source

    GetInt16(Int32)

    Gets the int16 value at the specified index

    Declaration
    public short GetInt16(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Int16
    | Improve this Doc View Source

    GetInt16(String)

    Gets the int16 value of the specified property

    Declaration
    public short GetInt16(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Int16
    | Improve this Doc View Source

    GetInt32(Int32)

    Gets the int32 value at the specified index

    Declaration
    public int GetInt32(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetInt32(String)

    Gets the int32 value of the specified property

    Declaration
    public int GetInt32(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetInt64(Int32)

    Gets the int64 value at the specified index

    Declaration
    public long GetInt64(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    GetInt64(String)

    Gets the int64 value of the specified property

    Declaration
    public long GetInt64(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    GetName(Int32)

    Gets the name of the field at the specified index

    Declaration
    public string GetName(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetPropertyType(Int32)

    Gets the type of the property at the specified index.

    Declaration
    public PropertyValueType GetPropertyType(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Returns
    Type Description
    PropertyValueType
    | Improve this Doc View Source

    GetPropertyType(String)

    Gets the type of the property.

    Declaration
    public PropertyValueType GetPropertyType(string name)
    Parameters
    Type Name Description
    System.String name

    The name.

    Returns
    Type Description
    PropertyValueType
    | Improve this Doc View Source

    GetSingle(Int32)

    Gets the single value at the specified index

    Declaration
    public float GetSingle(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    GetSingle(String)

    Gets the single value of the specified property

    Declaration
    public float GetSingle(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    GetString(Int32)

    Gets the string value at the specified index

    Declaration
    public string GetString(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetString(String)

    Gets the string value of the specified property

    Declaration
    public string GetString(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    GetValue(String)

    Gets the specified property value by name

    Declaration
    public PropertyValue GetValue(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    PropertyValue
    | Improve this Doc View Source

    IsNull(Int32)

    Gets whether the property value at the specified index has a null property value. You must call this method first to determine if it is safe to call the corresponding GetXXX() methods

    Declaration
    public bool IsNull(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsNull(String)

    Gets whether the specified property name has a null property value

    Declaration
    public bool IsNull(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    PropertyExists(String)

    Gets whether the specified named property exists

    Declaration
    public bool PropertyExists(string name)
    Parameters
    Type Name Description
    System.String name

    The property name.

    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    PutValue(String, PropertyValue)

    Adds the specified property value

    Declaration
    public void PutValue(string name, PropertyValue value)
    Parameters
    Type Name Description
    System.String name
    PropertyValue value
    | Improve this Doc View Source

    Update(IRecord)

    Updates the specified record.

    Declaration
    public void Update(IRecord record)
    Parameters
    Type Name Description
    IRecord record

    The record.

    Explicit Interface Implementations

    | Improve this Doc View Source

    IRecord.GetDateTime(Int32)

    Gets the datetime value at the specified index

    Declaration
    DateTime IRecord.GetDateTime(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.DateTime

    Implements

    IRecord
    IRecordReset
    IRecordInitialize
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng