WATableEntity Class Reference
Inherits from | NSObject |
Declared in | WATableEntity.h |
Tasks
-
tableName
The name of the table where this entity is located.
property -
partitionKey
The partition key of a table entity. The concatenation of the partition key and row key form the primary key for an entity, and so must be unique within the table.
property -
rowKey
The row key of a table entity. The concatenation of the partition key and row key form the primary key for an entity, and so must be unique within the table.
property -
timeStamp
The timestamp for this entity.
property -
– keys
Returns a new array containing the entity’s keys.
-
– objectForKey:
Returns the value associated with a given key.
-
– setObject:forKey:
Adds a given key-value pair to the entity.
-
+ createEntityForTable:
Creates a new entity given the name of an existing table.
Properties
partitionKey
The partition key of a table entity. The concatenation of the partition key and row key form the primary key for an entity, and so must be unique within the table.
@property (copy) NSString *partitionKey
Declared In
WATableEntity.h
rowKey
The row key of a table entity. The concatenation of the partition key and row key form the primary key for an entity, and so must be unique within the table.
@property (copy) NSString *rowKey
Declared In
WATableEntity.h
Class Methods
createEntityForTable:
Creates a new entity given the name of an existing table.
+ (WATableEntity *)createEntityForTable:(NSString *)table
Parameters
- table
The name of the table for this entity.
Return Value
A new WATableEntity object.
Declared In
WATableEntity.h
Instance Methods
keys
Returns a new array containing the entity’s keys.
- (NSArray *)keys
Return Value
A new array containing the entity’s keys, or an empty array if the entity has no entries.
Declared In
WATableEntity.h