Connection Methods and Properties
All .NET proxies for Caché classes support the following methods and properties:
Method or Property | Description |
---|---|
Close | Severs the connection between the .NET proxy object and the database. No changes made to the proxy object since the last invocation of Save are saved to the database. The object's data remains cached in the .NET client. Use OpenId to re-establish the connection. |
Dispose | Invokes Close and then removes the object from the .NET client's memory. |
IsConnected | Contains true if the object is connected to the database. Contains false otherwise. |