C# 클래스 Wolfje.Plugins.SEconomy.Journal.MySQLJournal.MySQLTransactionJournal

상속: ITransactionJournal
파일 보기 프로젝트 열기: tylerjwatson/SEconomy 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
bankAccounts List
connectionString string
instance SEconomy
mysqlConnection MySql.Data.MySqlClient.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

메소드 상세

AddBankAccount() 공개 메소드

public AddBankAccount ( IBankAccount Account ) : IBankAccount
Account IBankAccount
리턴 IBankAccount

AddBankAccount() 공개 메소드

public AddBankAccount ( string UserAccountName, long WorldID, BankAccountFlags Flags, string iDonoLol ) : IBankAccount
UserAccountName string
WorldID long
Flags BankAccountFlags
iDonoLol string
리턴 IBankAccount

BackupJournal() 공개 메소드

public BackupJournal ( ) : void
리턴 void

BackupJournalAsync() 공개 메소드

public BackupJournalAsync ( ) : Task
리턴 Task

BindTransactions() 공개 메소드

public BindTransactions ( MySql.Data.MySqlClient.MySqlTransaction SQLTransaction, long SourceBankTransactionK, long DestBankTransactionK ) : void
SQLTransaction MySql.Data.MySqlClient.MySqlTransaction
SourceBankTransactionK long
DestBankTransactionK long
리턴 void

CleanJournal() 공개 메소드

public CleanJournal ( PurgeOptions options ) : void
options PurgeOptions
리턴 void

CreateDatabase() 보호된 메소드

Creates a seconomy database in MySQL based on the create database SQL embedded resources.
protected CreateDatabase ( ) : void
리턴 void

CreateSchema() 보호된 메소드

protected CreateSchema ( ) : void
리턴 void

DatabaseExists() 보호된 메소드

Queries the destination MySQL server to determine if there is a database by the name matching sqlProperties.DbName set in the SEconomy configuration file.
protected DatabaseExists ( ) : bool
리턴 bool

DeleteBankAccountAsync() 공개 메소드

public DeleteBankAccountAsync ( long BankAccountK ) : Task
BankAccountK long
리턴 Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DumpSummary() 공개 메소드

public DumpSummary ( ) : void
리턴 void

GetBankAccount() 공개 메소드

public GetBankAccount ( long BankAccountK ) : IBankAccount
BankAccountK long
리턴 IBankAccount

GetBankAccountByName() 공개 메소드

public GetBankAccountByName ( string UserAccountName ) : IBankAccount
UserAccountName string
리턴 IBankAccount

GetBankAccountList() 공개 메소드

public GetBankAccountList ( long BankAccountK ) : IEnumerable
BankAccountK long
리턴 IEnumerable

GetWorldAccount() 공개 메소드

public GetWorldAccount ( ) : IBankAccount
리턴 IBankAccount

LoadBankAccounts() 보호된 메소드

protected LoadBankAccounts ( ) : void
리턴 void

LoadJournal() 공개 메소드

public LoadJournal ( ) : bool
리턴 bool

LoadJournalAsync() 공개 메소드

public LoadJournalAsync ( ) : Task
리턴 Task

MySQLTransactionJournal() 공개 메소드

public MySQLTransactionJournal ( SEconomy instance, Configuration sqlProperties ) : System
instance SEconomy
sqlProperties Configuration
리턴 System

SaveJournal() 공개 메소드

public SaveJournal ( ) : void
리턴 void

SaveJournalAsync() 공개 메소드

public SaveJournalAsync ( ) : Task
리턴 Task

SquashJournalAsync() 공개 메소드

public SquashJournalAsync ( ) : Task
리턴 Task

TransferBetween() 공개 메소드

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

TransferBetweenAsync() 공개 메소드

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

프로퍼티 상세

bankAccounts 보호되어 있는 프로퍼티

protected List bankAccounts
리턴 List

connectionString 보호되어 있는 프로퍼티

protected string connectionString
리턴 string

instance 보호되어 있는 프로퍼티

protected SEconomy instance
리턴 SEconomy

mysqlConnection 보호되어 있는 프로퍼티

protected MySqlConnection,MySql.Data.MySqlClient mysqlConnection
리턴 MySql.Data.MySqlClient.MySqlConnection

sqlProperties 보호되어 있는 프로퍼티

protected Configuration.SQLConnectionProperties sqlProperties
리턴 Configuration.SQLConnectionProperties