Create, Read, Update and Delete Data
Once you have obtained or created an Object Space instance (as described in the Ways to Implement Business Logic topic), you can use it to create, read, update or delete data. This topic lists common data-aware operations with the corresponding Object Space methods and events.
Data Manipulation | Related IObjectSpace Members |
---|---|
Create a new object | Methods: |
Get a single object | Methods: IObjectSpace.FirstOrDefault<ObjectType> IObjectSpace.FindObject<ObjectType> IObjectSpace.GetObjectByKey<ObjectType> |
Get a collection | Methods: IObjectSpace.CreateServerCollection |
Count objects | Methods: |
Save | Methods: Properties: Events: |
Delete | Methods: IObjectSpace.GetObjectsToDelete Properties: Events: |
Track modifications | Methods: Properties: Events: |
Refresh and rollback | Methods: Events: |
For details, refer to the descriptions of these members.