Property | Type | Description | |
---|---|---|---|
UserContext | CloudTableContext |
Method | Description | |
---|---|---|
GetAllUsers ( ) : List |
||
GetAllVersions ( |
||
GetUsersByFirstName ( string firstName ) : IEnumerable |
||
GetUsersByTypeOfUser ( string userType ) : List |
||
GetUsersThatLiveInFlorida ( ) : List |
||
Save ( |
||
UserRepository ( ) : System.Collections.Generic |
Method | Description | |
---|---|---|
InitPartitionSchemas ( ) : void |
The partition schemas are how your domain object gets sorted/categorized/grouped inside Azure Table storage. You create them in your client code and then "add" them to the CloudTableContext class that you're using to interact with the Table (in this case _userContext). Remember, these are just schema definitions for one particular PartitionKey. There is a DefaultSchema that get set on the CloudTableContext class automatically (in this case _userContext) which sets the PartitionKey to be the name of the object Type and the RowKey based on the Id property of the object provided during intialization.
|
public GetAllVersions ( |
||
givenUser | ||
return | IEnumerable |
public GetUsersByFirstName ( string firstName ) : IEnumerable |
||
firstName | string | |
return | IEnumerable |
public GetUsersByTypeOfUser ( string userType ) : List |
||
userType | string | |
return | List |
public UserRepository ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |