Record Class |
Namespace: Telogis.GeoBase.Transactional
The Record type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInteger |
Gets the integer value for the specified column in this record.
| |
GetLatLon |
Gets the location value for the specified column in this record.
| |
GetPolygon |
Gets the polygon value for the specified column in this record.
| |
GetString |
Gets the string value for the specified column in this record.
| |
GetTime |
Gets the time value for the specified column in this record.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Set(String, DateTime) |
Gets the time value for the specified column in this record.
| |
Set(String, Int64) |
Sets the integer value for the specified column in this record.
| |
Set(String, String) |
Sets the String value for the specified column in this record.
| |
Set(String, Polygon) |
Sets the polygon value for the specified column in this record.
| |
Set(String, LatLon) |
Sets the location value for the specified column in this record.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
// // Use the table's CreateRecord() method to create the record // Record myRecord = myTable.CreateRecord(); // // We must begin a transaction before we can modify the // repository // myTransactionalRepo.BeginTransaction(); // // Populate the fields of the record // myRecord["PoiName"] = "Acme Corp"; myRecord["Location"] = new LatLon(37.25, -117.5); // // Add the record to the database // myTable.Insert(myRecord); // // No changes are made to the repository until we finalize // the transaction. // myTransactionalRepo.EndTransaction();