Class XbimGeometryCursor
Inheritance
System.Object
XbimGeometryCursor
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Xbim.IO.Esent.dll
Syntax
public class XbimGeometryCursor : EsentCursor, IDisposable
Constructors
|
Improve this Doc
View Source
XbimGeometryCursor(EsentModel, String)
Declaration
public XbimGeometryCursor(EsentModel model, string database)
Parameters
Type |
Name |
Description |
EsentModel |
model |
|
System.String |
database |
|
|
Improve this Doc
View Source
XbimGeometryCursor(EsentModel, String, OpenDatabaseGrbit)
Declaration
public XbimGeometryCursor(EsentModel model, string database, OpenDatabaseGrbit mode)
Parameters
Type |
Name |
Description |
EsentModel |
model |
|
System.String |
database |
|
Microsoft.Isam.Esent.Interop.OpenDatabaseGrbit |
mode |
|
Fields
|
Improve this Doc
View Source
GeometryTableName
Declaration
public static string GeometryTableName
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
PrimaryIndex
Declaration
public string PrimaryIndex { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
AddGeometry(Int32, XbimGeometryType, Int16, Byte[], Byte[], Int16, Int32, Nullable<Int32>)
Adds a geometry record and returns the hash of the geometry data
Declaration
public int AddGeometry(int prodLabel, XbimGeometryType type, short expressType, byte[] transform, byte[] shapeData, short subPart = 0, int styleLabel = 0, int? geometryHash = null)
Parameters
Type |
Name |
Description |
System.Int32 |
prodLabel |
|
XbimGeometryType |
type |
|
System.Int16 |
expressType |
|
System.Byte[] |
transform |
|
System.Byte[] |
shapeData |
|
System.Int16 |
subPart |
|
System.Int32 |
styleLabel |
|
System.Nullable<System.Int32> |
geometryHash |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AddMapGeometry(Int32, Int32, Int16, Byte[], Int32)
Declaration
public int AddMapGeometry(int geomId, int prodLabel, short expressType, byte[] transform, int styleLabel = 0)
Parameters
Type |
Name |
Description |
System.Int32 |
geomId |
|
System.Int32 |
prodLabel |
|
System.Int16 |
expressType |
|
System.Byte[] |
transform |
|
System.Int32 |
styleLabel |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GeometryData(XbimGeometryType)
Returns the records for all geometries of the specified type
Declaration
public IEnumerable<XbimGeometryData> GeometryData(XbimGeometryType xbimGeometryType)
Parameters
Returns
|
Improve this Doc
View Source
GetGeometryData(Int32)
Declaration
public XbimGeometryData GetGeometryData(int geomLabel)
Parameters
Type |
Name |
Description |
System.Int32 |
geomLabel |
|
Returns
|
Improve this Doc
View Source
UpdateCount(Int32)
Update the count of geometry entities in the globals table. This is done with EscrowUpdate
so that there won't be any write conflicts.
Declaration
protected override void UpdateCount(int delta)
Parameters
Type |
Name |
Description |
System.Int32 |
delta |
The delta to apply to the count.
|
Overrides
|
Improve this Doc
View Source
UpdateReferenceCount(Int32, Int32)
Updates the number of references to a geomentry, a value of 1 indicates 1 reference in addition to one original use.
A value of 0 means there is only the single use and no other references to this geometry
Declaration
public int UpdateReferenceCount(int geomLabel, int refCount)
Parameters
Type |
Name |
Description |
System.Int32 |
geomLabel |
|
System.Int32 |
refCount |
|
Returns
Type |
Description |
System.Int32 |
|
Implements
System.IDisposable