Méthode | Description | |
---|---|---|
ToBook ( this entity ) : |
Unpack a book from a datastore entity.
|
|
ToEntity ( this book ) : System.Entity |
Create a datastore entity with the same values as book.
|
|
ToId ( this key ) : long |
Make a book id given a datastore key.
|
|
ToKey ( this id ) : Key |
Make a datastore key given a book's id.
|
public static ToBook ( this entity ) : |
||
entity | this | An entity retrieved from datastore. |
Résultat |
public static ToEntity ( this book ) : System.Entity | ||
book | this | The book to store in datastore. |
Résultat | System.Entity |
public static ToId ( this key ) : long | ||
key | this | A datastore key |
Résultat | long |
public static ToKey ( this id ) : Key | ||
id | this | A book's id. |
Résultat | Key |