프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
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 | ||
리턴 |