#pragma once

#using <mscorlib.dll>
#using <System.dll>
#using <System.Data.dll>
#using <System.Xml.dll>

using namespace System::Security::Permissions;
[assembly:SecurityPermissionAttribute(SecurityAction::RequestMinimum, SkipVerification=false)];
// 
// This source code was auto-generated by xsd, Version=2.0.50727.42.
// 
namespace ObjDataEdit {
    using namespace System;
    public __gc class DataSet2;
    
    
    /// <summary>
///Represents a strongly typed in-memory cache of data.
///</summary>
    [System::CodeDom::Compiler::GeneratedCodeAttribute(S"System.Data.Design.TypedDataSetGenerator", S"2.0.0.0"), 
    System::Serializable, 
    System::ComponentModel::DesignerCategoryAttribute(S"code"), 
    System::ComponentModel::ToolboxItem(true), 
    System::Xml::Serialization::XmlSchemaProviderAttribute(S"GetTypedDataSetSchema"), 
    System::Xml::Serialization::XmlRootAttribute(S"DataSet2"), 
    System::ComponentModel::Design::HelpKeywordAttribute(S"vs.data.DataSet")]
    public __gc class DataSet2 : public System::Data::DataSet {
        public : __gc class AccountDBDataTable;
        public : __gc class AccountDBRow;
        public : __gc class AccountDBRowChangeEvent;
        
        private: ObjDataEdit::DataSet2::AccountDBDataTable*  tableAccountDB;
        
        private: System::Data::SchemaSerializationMode _schemaSerializationMode;
        
        public : __delegate System::Void AccountDBRowChangeEventHandler(System::Object*  sender, ObjDataEdit::DataSet2::AccountDBRowChangeEvent*  e);
        
        public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        DataSet2();
        protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        DataSet2(System::Runtime::Serialization::SerializationInfo*  info, System::Runtime::Serialization::StreamingContext context);
        public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute, 
        property: System::ComponentModel::Browsable(false), 
        property: System::ComponentModel::DesignerSerializationVisibility(System::ComponentModel::DesignerSerializationVisibility::Content)]
         __property ObjDataEdit::DataSet2::AccountDBDataTable*  get_AccountDB();
        
        public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute, 
        property: System::ComponentModel::BrowsableAttribute(true), 
        property: System::ComponentModel::DesignerSerializationVisibilityAttribute(System::ComponentModel::DesignerSerializationVisibility::Visible)]
         __property virtual System::Data::SchemaSerializationMode get_SchemaSerializationMode();
        public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute, 
        property: System::ComponentModel::BrowsableAttribute(true), 
        property: System::ComponentModel::DesignerSerializationVisibilityAttribute(System::ComponentModel::DesignerSerializationVisibility::Visible)]
         __property virtual  void set_SchemaSerializationMode(System::Data::SchemaSerializationMode value)
        ;
        
        public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute, 
        property: System::ComponentModel::DesignerSerializationVisibilityAttribute(System::ComponentModel::DesignerSerializationVisibility::Hidden)]
         __property System::Data::DataTableCollection*  get_Tables();
        
        public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute, 
        property: System::ComponentModel::DesignerSerializationVisibilityAttribute(System::ComponentModel::DesignerSerializationVisibility::Hidden)]
         __property System::Data::DataRelationCollection*  get_Relations();
        
        protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        virtual System::Void InitializeDerivedDataSet();
        
        public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        virtual System::Data::DataSet*  Clone();
        
        protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        virtual System::Boolean ShouldSerializeTables();
        
        protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        virtual System::Boolean ShouldSerializeRelations();
        
        protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        virtual System::Void ReadXmlSerializable(System::Xml::XmlReader*  reader);
        
        protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        virtual System::Xml::Schema::XmlSchema*  GetSchemaSerializable();
        
        public private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        System::Void InitVars();
        
        public private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        System::Void InitVars(System::Boolean initTable);
        
        private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        System::Void InitClass();
        
        private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        System::Boolean ShouldSerializeAccountDB();
        
        private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        System::Void SchemaChanged(System::Object*  sender, System::ComponentModel::CollectionChangeEventArgs*  e);
        
        public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
        static System::Xml::Schema::XmlSchemaComplexType*  GetTypedDataSetSchema(System::Xml::Schema::XmlSchemaSet*  xs);
        
        public : /// <summary>
///Represents the strongly named DataTable class.
///</summary>
        [System::CodeDom::Compiler::GeneratedCodeAttribute(S"System.Data.Design.TypedDataSetGenerator", S"2.0.0.0"), 
        System::Serializable, 
        System::Xml::Serialization::XmlSchemaProviderAttribute(S"GetTypedTableSchema")]
        __gc class AccountDBDataTable : public System::Data::DataTable, public System::Collections::IEnumerable {
            
            private: System::Data::DataColumn*  columnAccount_id;
            
            private: System::Data::DataColumn*  columnPassword;
            
            private: System::Data::DataColumn*  columnAdmin;
            
            private: System::Data::DataColumn*  columnValueTable;
            
            private: System::Data::DataColumn*  columnAddPower;
            
            private: System::Data::DataColumn*  columnArmor;
            
            private: System::Data::DataColumn*  columnBodyObj;
            
            private: System::Data::DataColumn*  columnPlayer;
            
            private: System::Data::DataColumn*  column_Item;
            
            private: System::Data::DataColumn*  columnKeyItem;
            
            private: System::Data::DataColumn*  columnMagic;
            
            private: System::Data::DataColumn*  columnQuestCollect;
            
            private: System::Data::DataColumn*  columnQuestDetail;
            
            private: System::Data::DataColumn*  columnRune;
            
            private: System::Data::DataColumn*  columnTitle;
            
            private: System::Data::DataColumn*  columnWeapon;
            
            private: System::Data::DataColumn*  columnNPC;
            
            private: System::Data::DataColumn*  columnMine;
            
            private: System::Data::DataColumn*  columnImage;
            
            private: System::Data::DataColumn*  columnFlag;
            
            private: System::Data::DataColumn*  columnRecipe;
            
            private: System::Data::DataColumn*  columnQuestNPC;
            
            private: System::Data::DataColumn*  columnScript;
            
            private: System::Data::DataColumn*  columnLearnMagic;
            
            private: System::Data::DataColumn*  columnShop;
            
            public: __event ObjDataEdit::DataSet2::AccountDBRowChangeEventHandler*  AccountDBRowChanging;
            
            public: __event ObjDataEdit::DataSet2::AccountDBRowChangeEventHandler*  AccountDBRowChanged;
            
            public: __event ObjDataEdit::DataSet2::AccountDBRowChangeEventHandler*  AccountDBRowDeleting;
            
            public: __event ObjDataEdit::DataSet2::AccountDBRowChangeEventHandler*  AccountDBRowDeleted;
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            AccountDBDataTable();
            public private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            AccountDBDataTable(System::Data::DataTable*  table);
            protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            AccountDBDataTable(System::Runtime::Serialization::SerializationInfo*  info, System::Runtime::Serialization::StreamingContext context);
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_Account_idColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_PasswordColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_AdminColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_ValueTableColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_AddPowerColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_ArmorColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_BodyObjColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_PlayerColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get__ItemColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_KeyItemColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_MagicColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_QuestCollectColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_QuestDetailColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_RuneColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_TitleColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_WeaponColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_NPCColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_MineColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_ImageColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_FlagColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_RecipeColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_QuestNPCColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_ScriptColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_LearnMagicColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataColumn*  get_ShopColumn();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute, 
            property: System::ComponentModel::Browsable(false)]
             __property System::Int32 get_Count();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property ObjDataEdit::DataSet2::AccountDBRow*  get_Item(System::Int32 index);
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            System::Void AddAccountDBRow(ObjDataEdit::DataSet2::AccountDBRow*  row);
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            ObjDataEdit::DataSet2::AccountDBRow*  AddAccountDBRow(
                        System::String*  Account_id, 
                        System::String*  Password, 
                        System::String*  Admin, 
                        System::String*  ValueTable, 
                        System::String*  AddPower, 
                        System::String*  Armor, 
                        System::String*  BodyObj, 
                        System::String*  Player, 
                        System::String*  _Item, 
                        System::String*  KeyItem, 
                        System::String*  Magic, 
                        System::String*  QuestCollect, 
                        System::String*  QuestDetail, 
                        System::String*  Rune, 
                        System::String*  Title, 
                        System::String*  Weapon, 
                        System::String*  NPC, 
                        System::String*  Mine, 
                        System::String*  Image, 
                        System::String*  Flag, 
                        System::String*  Recipe, 
                        System::String*  QuestNPC, 
                        System::String*  Script, 
                        System::String*  LearnMagic, 
                        System::String*  Shop);
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            ObjDataEdit::DataSet2::AccountDBRow*  FindByAccount_id(System::String*  Account_id);
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            virtual System::Collections::IEnumerator*  GetEnumerator();
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            virtual System::Data::DataTable*  Clone();
            
            protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            virtual System::Data::DataTable*  CreateInstance();
            
            public private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            System::Void InitVars();
            
            private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            System::Void InitClass();
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            ObjDataEdit::DataSet2::AccountDBRow*  NewAccountDBRow();
            
            protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            virtual System::Data::DataRow*  NewRowFromBuilder(System::Data::DataRowBuilder*  builder);
            
            protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            virtual System::Type*  GetRowType();
            
            protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            virtual System::Void OnRowChanged(System::Data::DataRowChangeEventArgs*  e);
            
            protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            virtual System::Void OnRowChanging(System::Data::DataRowChangeEventArgs*  e);
            
            protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            virtual System::Void OnRowDeleted(System::Data::DataRowChangeEventArgs*  e);
            
            protected: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            virtual System::Void OnRowDeleting(System::Data::DataRowChangeEventArgs*  e);
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            System::Void RemoveAccountDBRow(ObjDataEdit::DataSet2::AccountDBRow*  row);
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            static System::Xml::Schema::XmlSchemaComplexType*  GetTypedTableSchema(System::Xml::Schema::XmlSchemaSet*  xs);
        };
        
        public : /// <summary>
///Represents strongly named DataRow class.
///</summary>
        [System::CodeDom::Compiler::GeneratedCodeAttribute(S"System.Data.Design.TypedDataSetGenerator", S"2.0.0.0")]
        __gc class AccountDBRow : public System::Data::DataRow {
            
            private: ObjDataEdit::DataSet2::AccountDBDataTable*  tableAccountDB;
            
            public private: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            AccountDBRow(System::Data::DataRowBuilder*  rb);
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Account_id();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Account_id(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Password();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Password(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Admin();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Admin(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_ValueTable();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_ValueTable(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_AddPower();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_AddPower(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Armor();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Armor(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_BodyObj();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_BodyObj(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Player();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Player(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get__Item();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set__Item(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_KeyItem();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_KeyItem(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Magic();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Magic(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_QuestCollect();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_QuestCollect(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_QuestDetail();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_QuestDetail(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Rune();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Rune(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Title();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Title(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Weapon();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Weapon(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_NPC();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_NPC(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Mine();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Mine(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Image();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Image(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Flag();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Flag(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Recipe();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Recipe(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_QuestNPC();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_QuestNPC(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Script();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Script(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_LearnMagic();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_LearnMagic(System::String*  value)
            ;
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::String*  get_Shop();
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property  void set_Shop(System::String*  value)
            ;
        };
        
        public : /// <summary>
///Row event argument class
///</summary>
        [System::CodeDom::Compiler::GeneratedCodeAttribute(S"System.Data.Design.TypedDataSetGenerator", S"2.0.0.0")]
        __gc class AccountDBRowChangeEvent : public System::EventArgs {
            
            private: ObjDataEdit::DataSet2::AccountDBRow*  eventRow;
            
            private: System::Data::DataRowAction eventAction;
            
            public: [System::Diagnostics::DebuggerNonUserCodeAttribute]
            AccountDBRowChangeEvent(ObjDataEdit::DataSet2::AccountDBRow*  row, System::Data::DataRowAction action);
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property ObjDataEdit::DataSet2::AccountDBRow*  get_Row();
            
            public: [property: System::Diagnostics::DebuggerNonUserCodeAttribute]
             __property System::Data::DataRowAction get_Action();
        };
    };
}
namespace ObjDataEdit {
    
    
    inline DataSet2::DataSet2() {
        this->BeginInit();
        this->InitClass();
        System::ComponentModel::CollectionChangeEventHandler*  schemaChangedHandler = new System::ComponentModel::CollectionChangeEventHandler(this, &ObjDataEdit::DataSet2::SchemaChanged);
        __super::Tables->CollectionChanged += schemaChangedHandler;
        __super::Relations->CollectionChanged += schemaChangedHandler;
        this->EndInit();
    }
    
    inline DataSet2::DataSet2(System::Runtime::Serialization::SerializationInfo*  info, System::Runtime::Serialization::StreamingContext context) : 
            System::Data::DataSet(info, context, false) {
        if (this->IsBinarySerialized(info, context) == true) {
            this->InitVars(false);
            System::ComponentModel::CollectionChangeEventHandler*  schemaChangedHandler1 = new System::ComponentModel::CollectionChangeEventHandler(this, &ObjDataEdit::DataSet2::SchemaChanged);
            this->Tables->CollectionChanged += schemaChangedHandler1;
            this->Relations->CollectionChanged += schemaChangedHandler1;
            return;
        }
        System::String*  strSchema = (__try_cast<System::String*  >(info->GetValue(S"XmlSchema", __typeof(System::String))));
        if (this->DetermineSchemaSerializationMode(info, context) == System::Data::SchemaSerializationMode::IncludeSchema) {
            System::Data::DataSet*  ds = (new System::Data::DataSet());
            ds->ReadXmlSchema((new System::Xml::XmlTextReader((new System::IO::StringReader(strSchema)))));
            if (ds->Tables->Item[S"AccountDB"] != 0) {
                __super::Tables->Add((new ObjDataEdit::DataSet2::AccountDBDataTable(ds->Tables->Item[S"AccountDB"])));
            }
            this->DataSetName = ds->DataSetName;
            this->Prefix = ds->Prefix;
            this->Namespace = ds->Namespace;
            this->Locale = ds->Locale;
            this->CaseSensitive = ds->CaseSensitive;
            this->EnforceConstraints = ds->EnforceConstraints;
            this->Merge(ds, false, System::Data::MissingSchemaAction::Add);
            this->InitVars();
        }
        else {
            this->ReadXmlSchema((new System::Xml::XmlTextReader((new System::IO::StringReader(strSchema)))));
        }
        this->GetSerializationData(info, context);
        System::ComponentModel::CollectionChangeEventHandler*  schemaChangedHandler = new System::ComponentModel::CollectionChangeEventHandler(this, &ObjDataEdit::DataSet2::SchemaChanged);
        __super::Tables->CollectionChanged += schemaChangedHandler;
        this->Relations->CollectionChanged += schemaChangedHandler;
    }
    
    inline ObjDataEdit::DataSet2::AccountDBDataTable*  DataSet2::get_AccountDB() {
        return this->tableAccountDB;
    }
    
    inline System::Data::SchemaSerializationMode DataSet2::get_SchemaSerializationMode() {
        return this->_schemaSerializationMode;
    }
    inline void DataSet2::set_SchemaSerializationMode(System::Data::SchemaSerializationMode value) {
        this->_schemaSerializationMode = __identifier(value);
    }
    
    inline System::Data::DataTableCollection*  DataSet2::get_Tables() {
        return __super::Tables;
    }
    
    inline System::Data::DataRelationCollection*  DataSet2::get_Relations() {
        return __super::Relations;
    }
    
    inline System::Void DataSet2::InitializeDerivedDataSet() {
        this->BeginInit();
        this->InitClass();
        this->EndInit();
    }
    
    inline System::Data::DataSet*  DataSet2::Clone() {
        ObjDataEdit::DataSet2*  cln = (__try_cast<ObjDataEdit::DataSet2*  >(__super::Clone()));
        cln->InitVars();
        cln->SchemaSerializationMode = this->SchemaSerializationMode;
        return cln;
    }
    
    inline System::Boolean DataSet2::ShouldSerializeTables() {
        return false;
    }
    
    inline System::Boolean DataSet2::ShouldSerializeRelations() {
        return false;
    }
    
    inline System::Void DataSet2::ReadXmlSerializable(System::Xml::XmlReader*  reader) {
        if (this->DetermineSchemaSerializationMode(reader) == System::Data::SchemaSerializationMode::IncludeSchema) {
            this->Reset();
            System::Data::DataSet*  ds = (new System::Data::DataSet());
            ds->ReadXml(reader);
            if (ds->Tables->Item[S"AccountDB"] != 0) {
                __super::Tables->Add((new ObjDataEdit::DataSet2::AccountDBDataTable(ds->Tables->Item[S"AccountDB"])));
            }
            this->DataSetName = ds->DataSetName;
            this->Prefix = ds->Prefix;
            this->Namespace = ds->Namespace;
            this->Locale = ds->Locale;
            this->CaseSensitive = ds->CaseSensitive;
            this->EnforceConstraints = ds->EnforceConstraints;
            this->Merge(ds, false, System::Data::MissingSchemaAction::Add);
            this->InitVars();
        }
        else {
            this->ReadXml(reader);
            this->InitVars();
        }
    }
    
    inline System::Xml::Schema::XmlSchema*  DataSet2::GetSchemaSerializable() {
        System::IO::MemoryStream*  stream = (new System::IO::MemoryStream());
        this->WriteXmlSchema((new System::Xml::XmlTextWriter(stream, 0)));
        stream->Position = 0;
        return System::Xml::Schema::XmlSchema::Read((new System::Xml::XmlTextReader(stream)), 0);
    }
    
    inline System::Void DataSet2::InitVars() {
        this->InitVars(true);
    }
    
    inline System::Void DataSet2::InitVars(System::Boolean initTable) {
        this->tableAccountDB = (__try_cast<ObjDataEdit::DataSet2::AccountDBDataTable*  >(__super::Tables->Item[S"AccountDB"]));
        if (initTable == true) {
            if (this->tableAccountDB != 0) {
                this->tableAccountDB->InitVars();
            }
        }
    }
    
    inline System::Void DataSet2::InitClass() {
        this->DataSetName = S"DataSet2";
        this->Prefix = S"";
        this->Namespace = S"http://www.tempuri.org/DataSet2.xsd";
        this->Locale = (new System::Globalization::CultureInfo(S"zh-TW"));
        this->EnforceConstraints = true;
        this->SchemaSerializationMode = System::Data::SchemaSerializationMode::IncludeSchema;
        this->tableAccountDB = (new ObjDataEdit::DataSet2::AccountDBDataTable());
        __super::Tables->Add(this->tableAccountDB);
    }
    
    inline System::Boolean DataSet2::ShouldSerializeAccountDB() {
        return false;
    }
    
    inline System::Void DataSet2::SchemaChanged(System::Object*  sender, System::ComponentModel::CollectionChangeEventArgs*  e) {
        if (e->Action == System::ComponentModel::CollectionChangeAction::Remove) {
            this->InitVars();
        }
    }
    
    inline System::Xml::Schema::XmlSchemaComplexType*  DataSet2::GetTypedDataSetSchema(System::Xml::Schema::XmlSchemaSet*  xs) {
        ObjDataEdit::DataSet2*  ds = (new ObjDataEdit::DataSet2());
        System::Xml::Schema::XmlSchemaComplexType*  type = (new System::Xml::Schema::XmlSchemaComplexType());
        System::Xml::Schema::XmlSchemaSequence*  sequence = (new System::Xml::Schema::XmlSchemaSequence());
        System::Xml::Schema::XmlSchemaAny*  any = (new System::Xml::Schema::XmlSchemaAny());
        any->Namespace = ds->Namespace;
        sequence->Items->Add(any);
        type->Particle = sequence;
        System::Xml::Schema::XmlSchema*  dsSchema = ds->GetSchemaSerializable();
        if (xs->Contains(dsSchema->TargetNamespace)) {
            System::IO::MemoryStream*  s1 = (new System::IO::MemoryStream());
            System::IO::MemoryStream*  s2 = (new System::IO::MemoryStream());
            try {
                System::Xml::Schema::XmlSchema*  schema = 0;
                dsSchema->Write(s1);
                for (                System::Collections::IEnumerator*  schemas = xs->Schemas(dsSchema->TargetNamespace)->GetEnumerator(); schemas->MoveNext();                 ) {
                    schema = (__try_cast<System::Xml::Schema::XmlSchema*  >(schemas->Current));
                    s2->SetLength(0);
                    schema->Write(s2);
                    if (s1->Length == s2->Length) {
                        s1->Position = 0;
                        s2->Position = 0;
                        for (                        ; ((s1->Position != s1->Length) 
                                    && (s1->ReadByte() == s2->ReadByte()));                         ) {
                            ;
                        }
                        if (s1->Position == s1->Length) {
                            return type;
                        }
                    }
                }
            }
            __finally {
                if (s1 != 0) {
                    s1->Close();
                }
                if (s2 != 0) {
                    s2->Close();
                }
            }
        }
        xs->Add(dsSchema);
        return type;
    }
    
    
    inline DataSet2::AccountDBDataTable::AccountDBDataTable() {
        this->TableName = S"AccountDB";
        this->BeginInit();
        this->InitClass();
        this->EndInit();
    }
    
    inline DataSet2::AccountDBDataTable::AccountDBDataTable(System::Data::DataTable*  table) {
        this->TableName = table->TableName;
        if (table->CaseSensitive != table->DataSet->CaseSensitive) {
            this->CaseSensitive = table->CaseSensitive;
        }
        if (table->Locale->ToString() != table->DataSet->Locale->ToString()) {
            this->Locale = table->Locale;
        }
        if (table->Namespace != table->DataSet->Namespace) {
            this->Namespace = table->Namespace;
        }
        this->Prefix = table->Prefix;
        this->MinimumCapacity = table->MinimumCapacity;
    }
    
    inline DataSet2::AccountDBDataTable::AccountDBDataTable(System::Runtime::Serialization::SerializationInfo*  info, System::Runtime::Serialization::StreamingContext context) : 
            System::Data::DataTable(info, context) {
        this->InitVars();
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_Account_idColumn() {
        return this->columnAccount_id;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_PasswordColumn() {
        return this->columnPassword;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_AdminColumn() {
        return this->columnAdmin;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_ValueTableColumn() {
        return this->columnValueTable;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_AddPowerColumn() {
        return this->columnAddPower;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_ArmorColumn() {
        return this->columnArmor;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_BodyObjColumn() {
        return this->columnBodyObj;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_PlayerColumn() {
        return this->columnPlayer;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get__ItemColumn() {
        return this->column_Item;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_KeyItemColumn() {
        return this->columnKeyItem;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_MagicColumn() {
        return this->columnMagic;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_QuestCollectColumn() {
        return this->columnQuestCollect;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_QuestDetailColumn() {
        return this->columnQuestDetail;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_RuneColumn() {
        return this->columnRune;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_TitleColumn() {
        return this->columnTitle;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_WeaponColumn() {
        return this->columnWeapon;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_NPCColumn() {
        return this->columnNPC;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_MineColumn() {
        return this->columnMine;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_ImageColumn() {
        return this->columnImage;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_FlagColumn() {
        return this->columnFlag;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_RecipeColumn() {
        return this->columnRecipe;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_QuestNPCColumn() {
        return this->columnQuestNPC;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_ScriptColumn() {
        return this->columnScript;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_LearnMagicColumn() {
        return this->columnLearnMagic;
    }
    
    inline System::Data::DataColumn*  DataSet2::AccountDBDataTable::get_ShopColumn() {
        return this->columnShop;
    }
    
    inline System::Int32 DataSet2::AccountDBDataTable::get_Count() {
        return this->Rows->Count;
    }
    
    inline ObjDataEdit::DataSet2::AccountDBRow*  DataSet2::AccountDBDataTable::get_Item(System::Int32 index) {
        return (__try_cast<ObjDataEdit::DataSet2::AccountDBRow*  >(this->Rows->Item[index]));
    }
    
    inline System::Void DataSet2::AccountDBDataTable::AddAccountDBRow(ObjDataEdit::DataSet2::AccountDBRow*  row) {
        this->Rows->Add(row);
    }
    
    inline ObjDataEdit::DataSet2::AccountDBRow*  DataSet2::AccountDBDataTable::AddAccountDBRow(
                System::String*  Account_id, 
                System::String*  Password, 
                System::String*  Admin, 
                System::String*  ValueTable, 
                System::String*  AddPower, 
                System::String*  Armor, 
                System::String*  BodyObj, 
                System::String*  Player, 
                System::String*  _Item, 
                System::String*  KeyItem, 
                System::String*  Magic, 
                System::String*  QuestCollect, 
                System::String*  QuestDetail, 
                System::String*  Rune, 
                System::String*  Title, 
                System::String*  Weapon, 
                System::String*  NPC, 
                System::String*  Mine, 
                System::String*  Image, 
                System::String*  Flag, 
                System::String*  Recipe, 
                System::String*  QuestNPC, 
                System::String*  Script, 
                System::String*  LearnMagic, 
                System::String*  Shop) {
        ObjDataEdit::DataSet2::AccountDBRow*  rowAccountDBRow = (__try_cast<ObjDataEdit::DataSet2::AccountDBRow*  >(this->NewRow()));
        System::Object* __mcTemp__1[] = new System::Object*[25];
                __mcTemp__1[0] = Account_id;
                __mcTemp__1[1] = Password;
                __mcTemp__1[2] = Admin;
                __mcTemp__1[3] = ValueTable;
                __mcTemp__1[4] = AddPower;
                __mcTemp__1[5] = Armor;
                __mcTemp__1[6] = BodyObj;
                __mcTemp__1[7] = Player;
                __mcTemp__1[8] = _Item;
                __mcTemp__1[9] = KeyItem;
                __mcTemp__1[10] = Magic;
                __mcTemp__1[11] = QuestCollect;
                __mcTemp__1[12] = QuestDetail;
                __mcTemp__1[13] = Rune;
                __mcTemp__1[14] = Title;
                __mcTemp__1[15] = Weapon;
                __mcTemp__1[16] = NPC;
                __mcTemp__1[17] = Mine;
                __mcTemp__1[18] = Image;
                __mcTemp__1[19] = Flag;
                __mcTemp__1[20] = Recipe;
                __mcTemp__1[21] = QuestNPC;
                __mcTemp__1[22] = Script;
                __mcTemp__1[23] = LearnMagic;
                __mcTemp__1[24] = Shop;
        System::Object*  columnValuesArray[] = __mcTemp__1;
        rowAccountDBRow->ItemArray = columnValuesArray;
        this->Rows->Add(rowAccountDBRow);
        return rowAccountDBRow;
    }
    
    inline ObjDataEdit::DataSet2::AccountDBRow*  DataSet2::AccountDBDataTable::FindByAccount_id(System::String*  Account_id) {
        System::Object* __mcTemp__1[] = new System::Object*[1];
                __mcTemp__1[0] = Account_id;
        return (__try_cast<ObjDataEdit::DataSet2::AccountDBRow*  >(this->Rows->Find(__mcTemp__1)));
    }
    
    inline System::Collections::IEnumerator*  DataSet2::AccountDBDataTable::GetEnumerator() {
        return this->Rows->GetEnumerator();
    }
    
    inline System::Data::DataTable*  DataSet2::AccountDBDataTable::Clone() {
        ObjDataEdit::DataSet2::AccountDBDataTable*  cln = (__try_cast<ObjDataEdit::DataSet2::AccountDBDataTable*  >(__super::Clone()));
        cln->InitVars();
        return cln;
    }
    
    inline System::Data::DataTable*  DataSet2::AccountDBDataTable::CreateInstance() {
        return (new ObjDataEdit::DataSet2::AccountDBDataTable());
    }
    
    inline System::Void DataSet2::AccountDBDataTable::InitVars() {
        this->columnAccount_id = __super::Columns->Item[S"Account_id"];
        this->columnPassword = __super::Columns->Item[S"Password"];
        this->columnAdmin = __super::Columns->Item[S"Admin"];
        this->columnValueTable = __super::Columns->Item[S"ValueTable"];
        this->columnAddPower = __super::Columns->Item[S"AddPower"];
        this->columnArmor = __super::Columns->Item[S"Armor"];
        this->columnBodyObj = __super::Columns->Item[S"BodyObj"];
        this->columnPlayer = __super::Columns->Item[S"Player"];
        this->column_Item = __super::Columns->Item[S"Item"];
        this->columnKeyItem = __super::Columns->Item[S"KeyItem"];
        this->columnMagic = __super::Columns->Item[S"Magic"];
        this->columnQuestCollect = __super::Columns->Item[S"QuestCollect"];
        this->columnQuestDetail = __super::Columns->Item[S"QuestDetail"];
        this->columnRune = __super::Columns->Item[S"Rune"];
        this->columnTitle = __super::Columns->Item[S"Title"];
        this->columnWeapon = __super::Columns->Item[S"Weapon"];
        this->columnNPC = __super::Columns->Item[S"NPC"];
        this->columnMine = __super::Columns->Item[S"Mine"];
        this->columnImage = __super::Columns->Item[S"Image"];
        this->columnFlag = __super::Columns->Item[S"Flag"];
        this->columnRecipe = __super::Columns->Item[S"Recipe"];
        this->columnQuestNPC = __super::Columns->Item[S"QuestNPC"];
        this->columnScript = __super::Columns->Item[S"Script"];
        this->columnLearnMagic = __super::Columns->Item[S"LearnMagic"];
        this->columnShop = __super::Columns->Item[S"Shop"];
    }
    
    inline System::Void DataSet2::AccountDBDataTable::InitClass() {
        this->columnAccount_id = (new System::Data::DataColumn(S"Account_id", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnAccount_id);
        this->columnPassword = (new System::Data::DataColumn(S"Password", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnPassword);
        this->columnAdmin = (new System::Data::DataColumn(S"Admin", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnAdmin);
        this->columnValueTable = (new System::Data::DataColumn(S"ValueTable", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnValueTable);
        this->columnAddPower = (new System::Data::DataColumn(S"AddPower", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnAddPower);
        this->columnArmor = (new System::Data::DataColumn(S"Armor", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnArmor);
        this->columnBodyObj = (new System::Data::DataColumn(S"BodyObj", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnBodyObj);
        this->columnPlayer = (new System::Data::DataColumn(S"Player", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnPlayer);
        this->column_Item = (new System::Data::DataColumn(S"Item", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->column_Item);
        this->columnKeyItem = (new System::Data::DataColumn(S"KeyItem", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnKeyItem);
        this->columnMagic = (new System::Data::DataColumn(S"Magic", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnMagic);
        this->columnQuestCollect = (new System::Data::DataColumn(S"QuestCollect", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnQuestCollect);
        this->columnQuestDetail = (new System::Data::DataColumn(S"QuestDetail", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnQuestDetail);
        this->columnRune = (new System::Data::DataColumn(S"Rune", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnRune);
        this->columnTitle = (new System::Data::DataColumn(S"Title", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnTitle);
        this->columnWeapon = (new System::Data::DataColumn(S"Weapon", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnWeapon);
        this->columnNPC = (new System::Data::DataColumn(S"NPC", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnNPC);
        this->columnMine = (new System::Data::DataColumn(S"Mine", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnMine);
        this->columnImage = (new System::Data::DataColumn(S"Image", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnImage);
        this->columnFlag = (new System::Data::DataColumn(S"Flag", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnFlag);
        this->columnRecipe = (new System::Data::DataColumn(S"Recipe", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnRecipe);
        this->columnQuestNPC = (new System::Data::DataColumn(S"QuestNPC", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnQuestNPC);
        this->columnScript = (new System::Data::DataColumn(S"Script", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnScript);
        this->columnLearnMagic = (new System::Data::DataColumn(S"LearnMagic", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnLearnMagic);
        this->columnShop = (new System::Data::DataColumn(S"Shop", __typeof(System::String), 0, System::Data::MappingType::Element));
        __super::Columns->Add(this->columnShop);
        System::Data::DataColumn* __mcTemp__1[] = new System::Data::DataColumn*[1];
                        __mcTemp__1[0] = this->columnAccount_id;
        this->Constraints->Add((new System::Data::UniqueConstraint(S"Constraint1", __mcTemp__1, true)));
        this->columnAccount_id->AllowDBNull = false;
        this->columnAccount_id->Unique = true;
        this->columnPassword->AllowDBNull = false;
        this->columnAdmin->AllowDBNull = false;
        this->columnValueTable->AllowDBNull = false;
        this->columnAddPower->AllowDBNull = false;
        this->columnArmor->AllowDBNull = false;
        this->columnBodyObj->AllowDBNull = false;
        this->columnPlayer->AllowDBNull = false;
        this->column_Item->AllowDBNull = false;
        this->columnKeyItem->AllowDBNull = false;
        this->columnMagic->AllowDBNull = false;
        this->columnQuestCollect->AllowDBNull = false;
        this->columnQuestDetail->AllowDBNull = false;
        this->columnRune->AllowDBNull = false;
        this->columnTitle->AllowDBNull = false;
        this->columnWeapon->AllowDBNull = false;
        this->columnNPC->AllowDBNull = false;
        this->columnMine->AllowDBNull = false;
        this->columnImage->AllowDBNull = false;
        this->columnFlag->AllowDBNull = false;
        this->columnRecipe->AllowDBNull = false;
        this->columnQuestNPC->AllowDBNull = false;
        this->columnScript->AllowDBNull = false;
        this->columnLearnMagic->AllowDBNull = false;
        this->columnShop->AllowDBNull = false;
    }
    
    inline ObjDataEdit::DataSet2::AccountDBRow*  DataSet2::AccountDBDataTable::NewAccountDBRow() {
        return (__try_cast<ObjDataEdit::DataSet2::AccountDBRow*  >(this->NewRow()));
    }
    
    inline System::Data::DataRow*  DataSet2::AccountDBDataTable::NewRowFromBuilder(System::Data::DataRowBuilder*  builder) {
        return (new ObjDataEdit::DataSet2::AccountDBRow(builder));
    }
    
    inline System::Type*  DataSet2::AccountDBDataTable::GetRowType() {
        return __typeof(ObjDataEdit::DataSet2::AccountDBRow);
    }
    
    inline System::Void DataSet2::AccountDBDataTable::OnRowChanged(System::Data::DataRowChangeEventArgs*  e) {
        __super::OnRowChanged(e);
        if (this->AccountDBRowChanged != 0) {
            this->AccountDBRowChanged(this, (new ObjDataEdit::DataSet2::AccountDBRowChangeEvent((__try_cast<ObjDataEdit::DataSet2::AccountDBRow*  >(e->Row)), 
                    e->Action)));
        }
    }
    
    inline System::Void DataSet2::AccountDBDataTable::OnRowChanging(System::Data::DataRowChangeEventArgs*  e) {
        __super::OnRowChanging(e);
        if (this->AccountDBRowChanging != 0) {
            this->AccountDBRowChanging(this, (new ObjDataEdit::DataSet2::AccountDBRowChangeEvent((__try_cast<ObjDataEdit::DataSet2::AccountDBRow*  >(e->Row)), 
                    e->Action)));
        }
    }
    
    inline System::Void DataSet2::AccountDBDataTable::OnRowDeleted(System::Data::DataRowChangeEventArgs*  e) {
        __super::OnRowDeleted(e);
        if (this->AccountDBRowDeleted != 0) {
            this->AccountDBRowDeleted(this, (new ObjDataEdit::DataSet2::AccountDBRowChangeEvent((__try_cast<ObjDataEdit::DataSet2::AccountDBRow*  >(e->Row)), 
                    e->Action)));
        }
    }
    
    inline System::Void DataSet2::AccountDBDataTable::OnRowDeleting(System::Data::DataRowChangeEventArgs*  e) {
        __super::OnRowDeleting(e);
        if (this->AccountDBRowDeleting != 0) {
            this->AccountDBRowDeleting(this, (new ObjDataEdit::DataSet2::AccountDBRowChangeEvent((__try_cast<ObjDataEdit::DataSet2::AccountDBRow*  >(e->Row)), 
                    e->Action)));
        }
    }
    
    inline System::Void DataSet2::AccountDBDataTable::RemoveAccountDBRow(ObjDataEdit::DataSet2::AccountDBRow*  row) {
        this->Rows->Remove(row);
    }
    
    inline System::Xml::Schema::XmlSchemaComplexType*  DataSet2::AccountDBDataTable::GetTypedTableSchema(System::Xml::Schema::XmlSchemaSet*  xs) {
        System::Xml::Schema::XmlSchemaComplexType*  type = (new System::Xml::Schema::XmlSchemaComplexType());
        System::Xml::Schema::XmlSchemaSequence*  sequence = (new System::Xml::Schema::XmlSchemaSequence());
        ObjDataEdit::DataSet2*  ds = (new ObjDataEdit::DataSet2());
        System::Xml::Schema::XmlSchemaAny*  any1 = (new System::Xml::Schema::XmlSchemaAny());
        any1->Namespace = S"http://www.w3.org/2001/XMLSchema";
        any1->MinOccurs = System::Decimal(0);
        any1->MaxOccurs = System::Decimal::MaxValue;
        any1->ProcessContents = System::Xml::Schema::XmlSchemaContentProcessing::Lax;
        sequence->Items->Add(any1);
        System::Xml::Schema::XmlSchemaAny*  any2 = (new System::Xml::Schema::XmlSchemaAny());
        any2->Namespace = S"urn:schemas-microsoft-com:xml-diffgram-v1";
        any2->MinOccurs = System::Decimal(1);
        any2->ProcessContents = System::Xml::Schema::XmlSchemaContentProcessing::Lax;
        sequence->Items->Add(any2);
        System::Xml::Schema::XmlSchemaAttribute*  attribute1 = (new System::Xml::Schema::XmlSchemaAttribute());
        attribute1->Name = S"namespace";
        attribute1->FixedValue = ds->Namespace;
        type->Attributes->Add(attribute1);
        System::Xml::Schema::XmlSchemaAttribute*  attribute2 = (new System::Xml::Schema::XmlSchemaAttribute());
        attribute2->Name = S"tableTypeName";
        attribute2->FixedValue = S"AccountDBDataTable";
        type->Attributes->Add(attribute2);
        type->Particle = sequence;
        System::Xml::Schema::XmlSchema*  dsSchema = ds->GetSchemaSerializable();
        if (xs->Contains(dsSchema->TargetNamespace)) {
            System::IO::MemoryStream*  s1 = (new System::IO::MemoryStream());
            System::IO::MemoryStream*  s2 = (new System::IO::MemoryStream());
            try {
                System::Xml::Schema::XmlSchema*  schema = 0;
                dsSchema->Write(s1);
                for (                System::Collections::IEnumerator*  schemas = xs->Schemas(dsSchema->TargetNamespace)->GetEnumerator(); schemas->MoveNext();                 ) {
                    schema = (__try_cast<System::Xml::Schema::XmlSchema*  >(schemas->Current));
                    s2->SetLength(0);
                    schema->Write(s2);
                    if (s1->Length == s2->Length) {
                        s1->Position = 0;
                        s2->Position = 0;
                        for (                        ; ((s1->Position != s1->Length) 
                                    && (s1->ReadByte() == s2->ReadByte()));                         ) {
                            ;
                        }
                        if (s1->Position == s1->Length) {
                            return type;
                        }
                    }
                }
            }
            __finally {
                if (s1 != 0) {
                    s1->Close();
                }
                if (s2 != 0) {
                    s2->Close();
                }
            }
        }
        xs->Add(dsSchema);
        return type;
    }
    
    
    inline DataSet2::AccountDBRow::AccountDBRow(System::Data::DataRowBuilder*  rb) : 
            System::Data::DataRow(rb) {
        this->tableAccountDB = (__try_cast<ObjDataEdit::DataSet2::AccountDBDataTable*  >(this->Table));
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Account_id() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->Account_idColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Account_id(System::String*  value) {
        this->Item[this->tableAccountDB->Account_idColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Password() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->PasswordColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Password(System::String*  value) {
        this->Item[this->tableAccountDB->PasswordColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Admin() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->AdminColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Admin(System::String*  value) {
        this->Item[this->tableAccountDB->AdminColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_ValueTable() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->ValueTableColumn]));
    }
    inline void DataSet2::AccountDBRow::set_ValueTable(System::String*  value) {
        this->Item[this->tableAccountDB->ValueTableColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_AddPower() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->AddPowerColumn]));
    }
    inline void DataSet2::AccountDBRow::set_AddPower(System::String*  value) {
        this->Item[this->tableAccountDB->AddPowerColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Armor() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->ArmorColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Armor(System::String*  value) {
        this->Item[this->tableAccountDB->ArmorColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_BodyObj() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->BodyObjColumn]));
    }
    inline void DataSet2::AccountDBRow::set_BodyObj(System::String*  value) {
        this->Item[this->tableAccountDB->BodyObjColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Player() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->PlayerColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Player(System::String*  value) {
        this->Item[this->tableAccountDB->PlayerColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get__Item() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->_ItemColumn]));
    }
    inline void DataSet2::AccountDBRow::set__Item(System::String*  value) {
        this->Item[this->tableAccountDB->_ItemColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_KeyItem() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->KeyItemColumn]));
    }
    inline void DataSet2::AccountDBRow::set_KeyItem(System::String*  value) {
        this->Item[this->tableAccountDB->KeyItemColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Magic() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->MagicColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Magic(System::String*  value) {
        this->Item[this->tableAccountDB->MagicColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_QuestCollect() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->QuestCollectColumn]));
    }
    inline void DataSet2::AccountDBRow::set_QuestCollect(System::String*  value) {
        this->Item[this->tableAccountDB->QuestCollectColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_QuestDetail() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->QuestDetailColumn]));
    }
    inline void DataSet2::AccountDBRow::set_QuestDetail(System::String*  value) {
        this->Item[this->tableAccountDB->QuestDetailColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Rune() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->RuneColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Rune(System::String*  value) {
        this->Item[this->tableAccountDB->RuneColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Title() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->TitleColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Title(System::String*  value) {
        this->Item[this->tableAccountDB->TitleColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Weapon() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->WeaponColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Weapon(System::String*  value) {
        this->Item[this->tableAccountDB->WeaponColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_NPC() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->NPCColumn]));
    }
    inline void DataSet2::AccountDBRow::set_NPC(System::String*  value) {
        this->Item[this->tableAccountDB->NPCColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Mine() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->MineColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Mine(System::String*  value) {
        this->Item[this->tableAccountDB->MineColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Image() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->ImageColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Image(System::String*  value) {
        this->Item[this->tableAccountDB->ImageColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Flag() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->FlagColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Flag(System::String*  value) {
        this->Item[this->tableAccountDB->FlagColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Recipe() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->RecipeColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Recipe(System::String*  value) {
        this->Item[this->tableAccountDB->RecipeColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_QuestNPC() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->QuestNPCColumn]));
    }
    inline void DataSet2::AccountDBRow::set_QuestNPC(System::String*  value) {
        this->Item[this->tableAccountDB->QuestNPCColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Script() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->ScriptColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Script(System::String*  value) {
        this->Item[this->tableAccountDB->ScriptColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_LearnMagic() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->LearnMagicColumn]));
    }
    inline void DataSet2::AccountDBRow::set_LearnMagic(System::String*  value) {
        this->Item[this->tableAccountDB->LearnMagicColumn] = value;
    }
    
    inline System::String*  DataSet2::AccountDBRow::get_Shop() {
        return (__try_cast<System::String*  >(this->Item[this->tableAccountDB->ShopColumn]));
    }
    inline void DataSet2::AccountDBRow::set_Shop(System::String*  value) {
        this->Item[this->tableAccountDB->ShopColumn] = value;
    }
    
    
    inline DataSet2::AccountDBRowChangeEvent::AccountDBRowChangeEvent(ObjDataEdit::DataSet2::AccountDBRow*  row, System::Data::DataRowAction action) {
        this->eventRow = row;
        this->eventAction = action;
    }
    
    inline ObjDataEdit::DataSet2::AccountDBRow*  DataSet2::AccountDBRowChangeEvent::get_Row() {
        return this->eventRow;
    }
    
    inline System::Data::DataRowAction DataSet2::AccountDBRowChangeEvent::get_Action() {
        return this->eventAction;
    }
}
