Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When specifying the type to return, these calls support using parent types and interfaces, including object, as a way of representing that content of a group of different types should be returned.  The data returned can then be cast to the appropriate type to perform operations associated with that type.

Methods

Getting Data

T Get<T>()
T Get<T, TContent>()

...

In the second case, the query is run across the data sources for all the types assignable to the 'types' parameter.  In the first case, all types which can be assigned to T are used.

Changing Data

bool Set(object data)
bool Set(object data, bool? create)
bool Set(Address address, object data)
bool Set(Address address, object data, bool? create)
bool Set(Address address, object data, bool? create, bool bypassChecks)
bool Set(Address address, object data, Dictionary<string, object> setOptions)

...