.Net Realm does json.
More...
|
static T | CreateObjectFromJson< T > (this Realm realm, string jsonString, bool inTransaction=false) |
| Creates a single RealmObject from a json string. More...
|
|
static T | CreateObjectFromJson< T > (this Realm realm, Stream stream, bool inTransaction=false) |
| Creates the single RealmObject from a stream containing json. More...
|
|
static T | CreateOrUpdateObjectFromJson< T > (this Realm realm, string jsonString, bool inTransaction=false) |
| Creates or updates a single RealmObject from a json string. More...
|
|
static void | CreateAllFromJson< T > (this Realm realm, Stream stream, bool updateExistingRecords=true, bool inTransaction=false) |
| Creates multiple RealmObjects from a json stream More...
|
|
static void | CreateAllFromJson< T > (this Realm realm, string jsonString, bool updateExistingRecords=true, bool inTransaction=false) |
| Creates multiple RealmObjects from a json string. More...
|
|
static void | CreateAllFromJsonViaAutoMapper< T > (this Realm realm, Stream stream, bool inTransaction=false) |
| Creates multiple RealmObjects from a json stream using AutoMapper More...
|
|
static T | NonManagedCopy< T > (this RealmObject realmObject) |
| Create a Generic non-managed RealmObject Copy More...
|
|
static RealmObject | NonManagedCopy (this RealmObject realmObject) |
| Create a non-managed RealmObject Copy. More...
|
|
static IQueryable< T > | NonManagedCopy< T > (this IQueryable< T > results) |
| Create a non-managed copy of Realm's Query Result. More...
|
|
static IList< T > | NonManagedCopy< T > (this IList< T > list) |
| Create a non-managed copy of Realm's Query Result. More...
|
|
◆ CreateAllFromJson< T >() [1/2]
static void SushiHangover.RealmJson.RealmDoesJson.CreateAllFromJson< T > |
( |
this Realm |
realm, |
|
|
Stream |
stream, |
|
|
bool |
updateExistingRecords = true , |
|
|
bool |
inTransaction = false |
|
) |
| |
|
inlinestatic |
Creates multiple RealmObjects from a json stream
- Parameters
-
realm | Realm Instance. |
stream | Stream. |
updateExistingRecords | If set to true update existing records. |
inTransaction | If set to true in transaction. |
- Template Parameters
-
T | RealmObject-based Class. |
◆ CreateAllFromJson< T >() [2/2]
static void SushiHangover.RealmJson.RealmDoesJson.CreateAllFromJson< T > |
( |
this Realm |
realm, |
|
|
string |
jsonString, |
|
|
bool |
updateExistingRecords = true , |
|
|
bool |
inTransaction = false |
|
) |
| |
|
inlinestatic |
Creates multiple RealmObjects from a json string.
- Parameters
-
realm | Realm Instance. |
jsonString | Json string. |
updateExistingRecords | If set to true update existing records. |
inTransaction | If set to true in transaction. |
- Template Parameters
-
T | RealmObject-based Class. |
◆ CreateAllFromJsonViaAutoMapper< T >()
static void SushiHangover.RealmJson.RealmDoesJson.CreateAllFromJsonViaAutoMapper< T > |
( |
this Realm |
realm, |
|
|
Stream |
stream, |
|
|
bool |
inTransaction = false |
|
) |
| |
|
inlinestatic |
Creates multiple RealmObjects from a json stream using AutoMapper
- Parameters
-
realm | Realm Instance. |
stream | Stream. |
inTransaction | bool. |
- Template Parameters
-
T | RealmObject-based Class. |
◆ CreateObjectFromJson< T >() [1/2]
static T SushiHangover.RealmJson.RealmDoesJson.CreateObjectFromJson< T > |
( |
this Realm |
realm, |
|
|
string |
jsonString, |
|
|
bool |
inTransaction = false |
|
) |
| |
|
inlinestatic |
Creates a single RealmObject from a json string.
- Returns
- Parameters
-
realm | Realm Instance |
jsonString | Json string |
inTransaction | bool. |
- Template Parameters
-
T | RealmOject-based Class.. |
◆ CreateObjectFromJson< T >() [2/2]
static T SushiHangover.RealmJson.RealmDoesJson.CreateObjectFromJson< T > |
( |
this Realm |
realm, |
|
|
Stream |
stream, |
|
|
bool |
inTransaction = false |
|
) |
| |
|
inlinestatic |
Creates the single RealmObject from a stream containing json.
- Returns
- The object from json.
- Parameters
-
realm | Realm Instance. |
stream | Stream. |
inTransaction | bool. |
- Template Parameters
-
T | RealmObject-based Class. |
◆ CreateOrUpdateObjectFromJson< T >()
static T SushiHangover.RealmJson.RealmDoesJson.CreateOrUpdateObjectFromJson< T > |
( |
this Realm |
realm, |
|
|
string |
jsonString, |
|
|
bool |
inTransaction = false |
|
) |
| |
|
inlinestatic |
Creates or updates a single RealmObject from a json string.
- Returns
- the updatex object from json.
- Parameters
-
realm | Realm Instance. |
jsonString | Json string. |
inTransaction | If set to true in transaction. |
- Template Parameters
-
T | RealmObject-based Class. |
◆ NonManagedCopy()
static RealmObject SushiHangover.RealmJson.RealmDoesJson.NonManagedCopy |
( |
this RealmObject |
realmObject | ) |
|
|
inlinestatic |
Create a non-managed RealmObject Copy.
- Returns
- The managed copy.
- Parameters
-
◆ NonManagedCopy< T >() [1/3]
Create a Generic non-managed RealmObject Copy
- Returns
- The managed copy.
- Parameters
-
- Template Parameters
-
◆ NonManagedCopy< T >() [2/3]
Create a non-managed copy of Realm's Query Result.
- Parameters
-
- Template Parameters
-
T | Type of the RealmObject in the results. |
- Returns
- The collection of non-managed realm objects.
◆ NonManagedCopy< T >() [3/3]
Create a non-managed copy of Realm's Query Result.
- Parameters
-
- Template Parameters
-
T | Type of the RealmObject in the results. |
- Returns
- The collection of non-managed realm objects.
◆ ExMalFormeJsonMessage
const string SushiHangover.RealmJson.RealmDoesJson.ExMalFormeJsonMessage = "Malformed Json" |
Malformed json exception message.
The documentation for this class was generated from the following file:
- src/RealmJson.Extensions/Extension.cs