12 [CollectionName(
"eDalerWallets")]
15 [Index(
"Account",
"Created")]
21 typeof(Persistence.NeuroLedger.NeuroLedgerProvider),
22 DataStorage.Account.FromSaveUnsaved,
23 DataStorage.Account.FromUpdateObject
28 typeof(Persistence.NeuroLedger.NeuroLedgerProvider),
29 DataStorage.Account.FromSaveUnsaved,
30 DataStorage.Account.FromUpdateObject,
31 "System.Threading.PortableThreadPool+WorkerThread"
34 private string objectId =
null;
38 private decimal? balance =
null;
39 private decimal? reserved =
null;
40 private DateTime created = DateTime.MinValue;
41 private DateTime? balanceTimestamp =
null;
48 public string ObjectId
51 set => this.objectId = value;
57 set => this.account = value;
64 set => this.domain = value;
67 [DefaultValueStringEmpty]
78 if (!
string.IsNullOrEmpty(this.currency))
81 this.currency = value;
85 public decimal Balance
90 return this.balance ?? 0;
95 if (this.balance.HasValue)
102 public decimal Reserved
107 return this.reserved ?? 0;
112 if (this.reserved.HasValue)
115 this.reserved = value;
119 public DateTime BalanceTimestamp
124 return this.balanceTimestamp ?? DateTime.MinValue;
129 if (this.balanceTimestamp.HasValue)
132 this.balanceTimestamp = value;
136 public DateTime Created
139 set => this.created = value;
static DomainConfiguration Instance
Current instance of configuration.
bool UseDomainName
If the server uses a domain name.
Represents a case-insensitive string.
static readonly CaseInsensitiveString Empty
Empty case-insensitive string
Static class containing methods that can be used to make sure calls are made from appropriate locatio...
static ICallStackCheck[] Convert(params object[] Sources)
Converts an array of objects into an array of ICallStackCheck objects, assuming each listed source is...
static void CallFromSource(params string[] Sources)
Makes sure the call is made from one of the listed sources.
Retains the current balance of an account.
Service Module hosting the XMPP broker and its components.
Interface for call stack checks.
TypeNameSerialization
How the type name should be serialized.