Свойство | Тип | Описание | |
---|---|---|---|
bankAccounts | List |
||
connectionString | string | ||
instance | SEconomy | ||
mysqlConnection | |||
sqlProperties | Configuration.SQLConnectionProperties |
Метод | Описание | |
---|---|---|
AddBankAccount ( IBankAccount Account ) : IBankAccount | ||
AddBankAccount ( string UserAccountName, long WorldID, BankAccountFlags Flags, string iDonoLol ) : IBankAccount | ||
BackupJournal ( ) : void | ||
BackupJournalAsync ( ) : Task | ||
BindTransactions ( MySql.Data.MySqlClient.MySqlTransaction SQLTransaction, long SourceBankTransactionK, long DestBankTransactionK ) : void | ||
CleanJournal ( PurgeOptions options ) : void | ||
DeleteBankAccountAsync ( long BankAccountK ) : Task | ||
Dispose ( ) : void | ||
DumpSummary ( ) : void | ||
GetBankAccount ( long BankAccountK ) : IBankAccount | ||
GetBankAccountByName ( string UserAccountName ) : IBankAccount | ||
GetBankAccountList ( long BankAccountK ) : IEnumerable |
||
GetWorldAccount ( ) : IBankAccount | ||
LoadJournal ( ) : bool | ||
LoadJournalAsync ( ) : Task |
||
MySQLTransactionJournal ( SEconomy instance, Configuration sqlProperties ) : System | ||
SaveJournal ( ) : void | ||
SaveJournalAsync ( ) : Task | ||
SquashJournalAsync ( ) : Task | ||
TransferBetween ( IBankAccount FromAccount, IBankAccount ToAccount, Money Amount, BankAccountTransferOptions Options, string TransactionMessage, string JournalMessage ) : BankTransferEventArgs | ||
TransferBetweenAsync ( IBankAccount FromAccount, IBankAccount ToAccount, Money Amount, BankAccountTransferOptions Options, string TransactionMessage, string JournalMessage ) : Task |
Метод | Описание | |
---|---|---|
CreateDatabase ( ) : void |
Creates a seconomy database in MySQL based on the create database SQL embedded resources.
|
|
CreateSchema ( ) : void | ||
DatabaseExists ( ) : bool |
Queries the destination MySQL server to determine if there is a database by the name matching sqlProperties.DbName set in the SEconomy configuration file.
|
|
Dispose ( bool disposing ) : void | ||
LoadBankAccounts ( ) : void |
Метод | Описание | |
---|---|---|
BeginSourceTransaction ( MySql.Data.MySqlClient.MySqlTransaction SQLTransaction, long BankAccountK, Money Amount, string Message ) : ITransaction | ||
FinishEndTransaction ( MySql.Data.MySqlClient.MySqlTransaction SQLTransaction, IBankAccount ToAccount, Money Amount, string Message ) : ITransaction | ||
TransferMaySucceed ( IBankAccount FromAccount, IBankAccount ToAccount, Money MoneyNeeded, Journal Options ) : bool |
public AddBankAccount ( IBankAccount Account ) : IBankAccount | ||
Account | IBankAccount | |
Результат | IBankAccount |
public AddBankAccount ( string UserAccountName, long WorldID, BankAccountFlags Flags, string iDonoLol ) : IBankAccount | ||
UserAccountName | string | |
WorldID | long | |
Flags | BankAccountFlags | |
iDonoLol | string | |
Результат | IBankAccount |
public BindTransactions ( MySql.Data.MySqlClient.MySqlTransaction SQLTransaction, long SourceBankTransactionK, long DestBankTransactionK ) : void | ||
SQLTransaction | MySql.Data.MySqlClient.MySqlTransaction | |
SourceBankTransactionK | long | |
DestBankTransactionK | long | |
Результат | void |
public CleanJournal ( PurgeOptions options ) : void | ||
options | PurgeOptions | |
Результат | void |
public DeleteBankAccountAsync ( long BankAccountK ) : Task | ||
BankAccountK | long | |
Результат | Task |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public GetBankAccount ( long BankAccountK ) : IBankAccount | ||
BankAccountK | long | |
Результат | IBankAccount |
public GetBankAccountByName ( string UserAccountName ) : IBankAccount | ||
UserAccountName | string | |
Результат | IBankAccount |
public GetBankAccountList ( long BankAccountK ) : IEnumerable |
||
BankAccountK | long | |
Результат | IEnumerable |
public MySQLTransactionJournal ( SEconomy instance, Configuration sqlProperties ) : System | ||
instance | SEconomy | |
sqlProperties | Configuration | |
Результат | System |
public TransferBetween ( IBankAccount FromAccount, IBankAccount ToAccount, Money Amount, BankAccountTransferOptions Options, string TransactionMessage, string JournalMessage ) : BankTransferEventArgs | ||
FromAccount | IBankAccount | |
ToAccount | IBankAccount | |
Amount | Money | |
Options | BankAccountTransferOptions | |
TransactionMessage | string | |
JournalMessage | string | |
Результат | BankTransferEventArgs |
public TransferBetweenAsync ( IBankAccount FromAccount, IBankAccount ToAccount, Money Amount, BankAccountTransferOptions Options, string TransactionMessage, string JournalMessage ) : Task |
||
FromAccount | IBankAccount | |
ToAccount | IBankAccount | |
Amount | Money | |
Options | BankAccountTransferOptions | |
TransactionMessage | string | |
JournalMessage | string | |
Результат | Task |
protected MySqlConnection,MySql.Data.MySqlClient mysqlConnection | ||
Результат |