//------------------------------------------------------------------------------
// <auto-generated>
//     このコードはツールによって生成されました。
//     ランタイム バージョン:2.0.50727.3623
//
//     このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
//     コードが再生成されるときに損失したりします。
// </auto-generated>
//------------------------------------------------------------------------------

#pragma warning disable 1591

namespace 顧客分析君 {
    
    
    /// <summary>
    ///Represents a strongly typed in-memory cache of data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.Serializable()]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
    [global::System.Xml.Serialization.XmlRootAttribute("D10顧客")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
    public partial class D10顧客 : global::System.Data.DataSet {
        
        private D10顧客DataTable tableD10顧客;
        
        private D10お勧め商品_顧客毎DataTable tableD10お勧め商品_顧客毎;
        
        private D10顧客2DataTable tableD10顧客2;
        
        private D10RFM顧客抽出DataTable tableD10RFM顧客抽出;
        
        private D10RFMランクDataTable tableD10RFMランク;
        
        private D10家族構成DataTable tableD10家族構成;
        
        private D10顧客補足DataTable tableD10顧客補足;
        
        private D10顧客検索DataTable tableD10顧客検索;
        
        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public D10顧客() {
            this.BeginInit();
            this.InitClass();
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            base.Relations.CollectionChanged += schemaChangedHandler;
            this.EndInit();
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected D10顧客(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                base(info, context, false) {
            if ((this.IsBinarySerialized(info, context) == true)) {
                this.InitVars(false);
                global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
                this.Tables.CollectionChanged += schemaChangedHandler1;
                this.Relations.CollectionChanged += schemaChangedHandler1;
                return;
            }
            string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
            if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
                global::System.Data.DataSet ds = new global::System.Data.DataSet();
                ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
                if ((ds.Tables["D10顧客"] != null)) {
                    base.Tables.Add(new D10顧客DataTable(ds.Tables["D10顧客"]));
                }
                if ((ds.Tables["D10お勧め商品_顧客毎"] != null)) {
                    base.Tables.Add(new D10お勧め商品_顧客毎DataTable(ds.Tables["D10お勧め商品_顧客毎"]));
                }
                if ((ds.Tables["D10顧客2"] != null)) {
                    base.Tables.Add(new D10顧客2DataTable(ds.Tables["D10顧客2"]));
                }
                if ((ds.Tables["D10RFM顧客抽出"] != null)) {
                    base.Tables.Add(new D10RFM顧客抽出DataTable(ds.Tables["D10RFM顧客抽出"]));
                }
                if ((ds.Tables["D10RFMランク"] != null)) {
                    base.Tables.Add(new D10RFMランクDataTable(ds.Tables["D10RFMランク"]));
                }
                if ((ds.Tables["D10家族構成"] != null)) {
                    base.Tables.Add(new D10家族構成DataTable(ds.Tables["D10家族構成"]));
                }
                if ((ds.Tables["D10顧客補足"] != null)) {
                    base.Tables.Add(new D10顧客補足DataTable(ds.Tables["D10顧客補足"]));
                }
                if ((ds.Tables["D10顧客検索"] != null)) {
                    base.Tables.Add(new D10顧客検索DataTable(ds.Tables["D10顧客検索"]));
                }
                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, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
            }
            this.GetSerializationData(info, context);
            global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public D10顧客DataTable _D10顧客 {
            get {
                return this.tableD10顧客;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public D10お勧め商品_顧客毎DataTable D10お勧め商品_顧客毎 {
            get {
                return this.tableD10お勧め商品_顧客毎;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public D10顧客2DataTable D10顧客2 {
            get {
                return this.tableD10顧客2;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public D10RFM顧客抽出DataTable D10RFM顧客抽出 {
            get {
                return this.tableD10RFM顧客抽出;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public D10RFMランクDataTable D10RFMランク {
            get {
                return this.tableD10RFMランク;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public D10家族構成DataTable D10家族構成 {
            get {
                return this.tableD10家族構成;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public D10顧客補足DataTable D10顧客補足 {
            get {
                return this.tableD10顧客補足;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
        public D10顧客検索DataTable D10顧客検索 {
            get {
                return this.tableD10顧客検索;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.BrowsableAttribute(true)]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
        public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
            get {
                return this._schemaSerializationMode;
            }
            set {
                this._schemaSerializationMode = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataTableCollection Tables {
            get {
                return base.Tables;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new global::System.Data.DataRelationCollection Relations {
            get {
                return base.Relations;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void InitializeDerivedDataSet() {
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public override global::System.Data.DataSet Clone() {
            D10顧客 cln = ((D10顧客)(base.Clone()));
            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return cln;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeTables() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeRelations() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
            if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
                this.Reset();
                global::System.Data.DataSet ds = new global::System.Data.DataSet();
                ds.ReadXml(reader);
                if ((ds.Tables["D10顧客"] != null)) {
                    base.Tables.Add(new D10顧客DataTable(ds.Tables["D10顧客"]));
                }
                if ((ds.Tables["D10お勧め商品_顧客毎"] != null)) {
                    base.Tables.Add(new D10お勧め商品_顧客毎DataTable(ds.Tables["D10お勧め商品_顧客毎"]));
                }
                if ((ds.Tables["D10顧客2"] != null)) {
                    base.Tables.Add(new D10顧客2DataTable(ds.Tables["D10顧客2"]));
                }
                if ((ds.Tables["D10RFM顧客抽出"] != null)) {
                    base.Tables.Add(new D10RFM顧客抽出DataTable(ds.Tables["D10RFM顧客抽出"]));
                }
                if ((ds.Tables["D10RFMランク"] != null)) {
                    base.Tables.Add(new D10RFMランクDataTable(ds.Tables["D10RFMランク"]));
                }
                if ((ds.Tables["D10家族構成"] != null)) {
                    base.Tables.Add(new D10家族構成DataTable(ds.Tables["D10家族構成"]));
                }
                if ((ds.Tables["D10顧客補足"] != null)) {
                    base.Tables.Add(new D10顧客補足DataTable(ds.Tables["D10顧客補足"]));
                }
                if ((ds.Tables["D10顧客検索"] != null)) {
                    base.Tables.Add(new D10顧客検索DataTable(ds.Tables["D10顧客検索"]));
                }
                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, global::System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXml(reader);
                this.InitVars();
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
            global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
            this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
            stream.Position = 0;
            return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars() {
            this.InitVars(true);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars(bool initTable) {
            this.tableD10顧客 = ((D10顧客DataTable)(base.Tables["D10顧客"]));
            if ((initTable == true)) {
                if ((this.tableD10顧客 != null)) {
                    this.tableD10顧客.InitVars();
                }
            }
            this.tableD10お勧め商品_顧客毎 = ((D10お勧め商品_顧客毎DataTable)(base.Tables["D10お勧め商品_顧客毎"]));
            if ((initTable == true)) {
                if ((this.tableD10お勧め商品_顧客毎 != null)) {
                    this.tableD10お勧め商品_顧客毎.InitVars();
                }
            }
            this.tableD10顧客2 = ((D10顧客2DataTable)(base.Tables["D10顧客2"]));
            if ((initTable == true)) {
                if ((this.tableD10顧客2 != null)) {
                    this.tableD10顧客2.InitVars();
                }
            }
            this.tableD10RFM顧客抽出 = ((D10RFM顧客抽出DataTable)(base.Tables["D10RFM顧客抽出"]));
            if ((initTable == true)) {
                if ((this.tableD10RFM顧客抽出 != null)) {
                    this.tableD10RFM顧客抽出.InitVars();
                }
            }
            this.tableD10RFMランク = ((D10RFMランクDataTable)(base.Tables["D10RFMランク"]));
            if ((initTable == true)) {
                if ((this.tableD10RFMランク != null)) {
                    this.tableD10RFMランク.InitVars();
                }
            }
            this.tableD10家族構成 = ((D10家族構成DataTable)(base.Tables["D10家族構成"]));
            if ((initTable == true)) {
                if ((this.tableD10家族構成 != null)) {
                    this.tableD10家族構成.InitVars();
                }
            }
            this.tableD10顧客補足 = ((D10顧客補足DataTable)(base.Tables["D10顧客補足"]));
            if ((initTable == true)) {
                if ((this.tableD10顧客補足 != null)) {
                    this.tableD10顧客補足.InitVars();
                }
            }
            this.tableD10顧客検索 = ((D10顧客検索DataTable)(base.Tables["D10顧客検索"]));
            if ((initTable == true)) {
                if ((this.tableD10顧客検索 != null)) {
                    this.tableD10顧客検索.InitVars();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "D10顧客";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/D10顧客.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableD10顧客 = new D10顧客DataTable();
            base.Tables.Add(this.tableD10顧客);
            this.tableD10お勧め商品_顧客毎 = new D10お勧め商品_顧客毎DataTable();
            base.Tables.Add(this.tableD10お勧め商品_顧客毎);
            this.tableD10顧客2 = new D10顧客2DataTable();
            base.Tables.Add(this.tableD10顧客2);
            this.tableD10RFM顧客抽出 = new D10RFM顧客抽出DataTable();
            base.Tables.Add(this.tableD10RFM顧客抽出);
            this.tableD10RFMランク = new D10RFMランクDataTable();
            base.Tables.Add(this.tableD10RFMランク);
            this.tableD10家族構成 = new D10家族構成DataTable();
            base.Tables.Add(this.tableD10家族構成);
            this.tableD10顧客補足 = new D10顧客補足DataTable();
            base.Tables.Add(this.tableD10顧客補足);
            this.tableD10顧客検索 = new D10顧客検索DataTable();
            base.Tables.Add(this.tableD10顧客検索);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerialize_D10顧客() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeD10お勧め商品_顧客毎() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeD10顧客2() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeD10RFM顧客抽出() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeD10RFMランク() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeD10家族構成() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeD10顧客補足() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeD10顧客検索() {
            return false;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
            D10顧客 ds = new D10顧客();
            global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
            global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
            global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
            if (xs.Contains(dsSchema.TargetNamespace)) {
                global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                try {
                    global::System.Xml.Schema.XmlSchema schema = null;
                    dsSchema.Write(s1);
                    for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                        schema = ((global::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 != null)) {
                        s1.Close();
                    }
                    if ((s2 != null)) {
                        s2.Close();
                    }
                }
            }
            xs.Add(dsSchema);
            return type;
        }
        
        public delegate void D10顧客RowChangeEventHandler(object sender, D10顧客RowChangeEvent e);
        
        public delegate void D10お勧め商品_顧客毎RowChangeEventHandler(object sender, D10お勧め商品_顧客毎RowChangeEvent e);
        
        public delegate void D10顧客2RowChangeEventHandler(object sender, D10顧客2RowChangeEvent e);
        
        public delegate void D10RFM顧客抽出RowChangeEventHandler(object sender, D10RFM顧客抽出RowChangeEvent e);
        
        public delegate void D10RFMランクRowChangeEventHandler(object sender, D10RFMランクRowChangeEvent e);
        
        public delegate void D10家族構成RowChangeEventHandler(object sender, D10家族構成RowChangeEvent e);
        
        public delegate void D10顧客補足RowChangeEventHandler(object sender, D10顧客補足RowChangeEvent e);
        
        public delegate void D10顧客検索RowChangeEventHandler(object sender, D10顧客検索RowChangeEvent e);
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class D10顧客DataTable : global::System.Data.TypedTableBase<D10顧客Row> {
            
            private global::System.Data.DataColumn column顧客No;
            
            private global::System.Data.DataColumn column顧客ID;
            
            private global::System.Data.DataColumn column氏名;
            
            private global::System.Data.DataColumn column氏名カナ;
            
            private global::System.Data.DataColumn column性別;
            
            private global::System.Data.DataColumn column生年月日;
            
            private global::System.Data.DataColumn column郵便番号;
            
            private global::System.Data.DataColumn column住所;
            
            private global::System.Data.DataColumn columnTEL;
            
            private global::System.Data.DataColumn columnメールアドレス;
            
            private global::System.Data.DataColumn column備考;
            
            private global::System.Data.DataColumn column新規;
            
            private global::System.Data.DataColumn column変更;
            
            private global::System.Data.DataColumn column削除;
            
            private global::System.Data.DataColumn columnメルマガ許諾;
            
            private global::System.Data.DataColumn columnメルマガ許諾名;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客DataTable() {
                this.TableName = "D10顧客";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10顧客DataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected D10顧客DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客NoColumn {
                get {
                    return this.column顧客No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客IDColumn {
                get {
                    return this.column顧客ID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名Column {
                get {
                    return this.column氏名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名カナColumn {
                get {
                    return this.column氏名カナ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 性別Column {
                get {
                    return this.column性別;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 生年月日Column {
                get {
                    return this.column生年月日;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 郵便番号Column {
                get {
                    return this.column郵便番号;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 住所Column {
                get {
                    return this.column住所;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TELColumn {
                get {
                    return this.columnTEL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メールアドレスColumn {
                get {
                    return this.columnメールアドレス;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 備考Column {
                get {
                    return this.column備考;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 新規Column {
                get {
                    return this.column新規;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 変更Column {
                get {
                    return this.column変更;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 削除Column {
                get {
                    return this.column削除;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メルマガ許諾Column {
                get {
                    return this.columnメルマガ許諾;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メルマガ許諾名Column {
                get {
                    return this.columnメルマガ許諾名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客Row this[int index] {
                get {
                    return ((D10顧客Row)(this.Rows[index]));
                }
            }
            
            public event D10顧客RowChangeEventHandler D10顧客RowChanging;
            
            public event D10顧客RowChangeEventHandler D10顧客RowChanged;
            
            public event D10顧客RowChangeEventHandler D10顧客RowDeleting;
            
            public event D10顧客RowChangeEventHandler D10顧客RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddD10顧客Row(D10顧客Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客Row AddD10顧客Row(
                        int 顧客No, 
                        string 顧客ID, 
                        string 氏名, 
                        string 氏名カナ, 
                        string 性別, 
                        System.DateTime 生年月日, 
                        string 郵便番号, 
                        string 住所, 
                        string TEL, 
                        string メールアドレス, 
                        string 備考, 
                        bool 新規, 
                        bool 変更, 
                        bool 削除, 
                        int メルマガ許諾, 
                        string メルマガ許諾名) {
                D10顧客Row rowD10顧客Row = ((D10顧客Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        顧客No,
                        顧客ID,
                        氏名,
                        氏名カナ,
                        性別,
                        生年月日,
                        郵便番号,
                        住所,
                        TEL,
                        メールアドレス,
                        備考,
                        新規,
                        変更,
                        削除,
                        メルマガ許諾,
                        メルマガ許諾名};
                rowD10顧客Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowD10顧客Row);
                return rowD10顧客Row;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                D10顧客DataTable cln = ((D10顧客DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new D10顧客DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column顧客No = base.Columns["顧客No"];
                this.column顧客ID = base.Columns["顧客ID"];
                this.column氏名 = base.Columns["氏名"];
                this.column氏名カナ = base.Columns["氏名カナ"];
                this.column性別 = base.Columns["性別"];
                this.column生年月日 = base.Columns["生年月日"];
                this.column郵便番号 = base.Columns["郵便番号"];
                this.column住所 = base.Columns["住所"];
                this.columnTEL = base.Columns["TEL"];
                this.columnメールアドレス = base.Columns["メールアドレス"];
                this.column備考 = base.Columns["備考"];
                this.column新規 = base.Columns["新規"];
                this.column変更 = base.Columns["変更"];
                this.column削除 = base.Columns["削除"];
                this.columnメルマガ許諾 = base.Columns["メルマガ許諾"];
                this.columnメルマガ許諾名 = base.Columns["メルマガ許諾名"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column顧客No = new global::System.Data.DataColumn("顧客No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客No);
                this.column顧客ID = new global::System.Data.DataColumn("顧客ID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客ID);
                this.column氏名 = new global::System.Data.DataColumn("氏名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名);
                this.column氏名カナ = new global::System.Data.DataColumn("氏名カナ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名カナ);
                this.column性別 = new global::System.Data.DataColumn("性別", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column性別);
                this.column生年月日 = new global::System.Data.DataColumn("生年月日", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column生年月日);
                this.column郵便番号 = new global::System.Data.DataColumn("郵便番号", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column郵便番号);
                this.column住所 = new global::System.Data.DataColumn("住所", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column住所);
                this.columnTEL = new global::System.Data.DataColumn("TEL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTEL);
                this.columnメールアドレス = new global::System.Data.DataColumn("メールアドレス", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメールアドレス);
                this.column備考 = new global::System.Data.DataColumn("備考", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column備考);
                this.column新規 = new global::System.Data.DataColumn("新規", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column新規);
                this.column変更 = new global::System.Data.DataColumn("変更", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column変更);
                this.column削除 = new global::System.Data.DataColumn("削除", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column削除);
                this.columnメルマガ許諾 = new global::System.Data.DataColumn("メルマガ許諾", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメルマガ許諾);
                this.columnメルマガ許諾名 = new global::System.Data.DataColumn("メルマガ許諾名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメルマガ許諾名);
                this.column顧客No.AutoIncrementSeed = -1;
                this.column顧客No.AutoIncrementStep = -1;
                this.column顧客No.AllowDBNull = false;
                this.column顧客No.ReadOnly = true;
                this.column顧客No.DefaultValue = ((int)(0));
                this.column顧客ID.DefaultValue = ((string)(""));
                this.column顧客ID.MaxLength = 50;
                this.column氏名.DefaultValue = ((string)(""));
                this.column氏名.MaxLength = 255;
                this.column氏名カナ.DefaultValue = ((string)(""));
                this.column氏名カナ.MaxLength = 255;
                this.column性別.DefaultValue = ((string)(""));
                this.column性別.MaxLength = 50;
                this.column郵便番号.DefaultValue = ((string)(""));
                this.column郵便番号.MaxLength = 10;
                this.column住所.DefaultValue = ((string)(""));
                this.column住所.MaxLength = 255;
                this.columnTEL.DefaultValue = ((string)(""));
                this.columnTEL.MaxLength = 20;
                this.columnメールアドレス.DefaultValue = ((string)(""));
                this.columnメールアドレス.MaxLength = 100;
                this.column備考.DefaultValue = ((string)(""));
                this.column備考.MaxLength = 536870910;
                this.column新規.AutoIncrementSeed = -1;
                this.column新規.AutoIncrementStep = -1;
                this.column新規.AllowDBNull = false;
                this.column新規.DefaultValue = ((bool)(false));
                this.column変更.AutoIncrementSeed = -1;
                this.column変更.AutoIncrementStep = -1;
                this.column変更.AllowDBNull = false;
                this.column変更.DefaultValue = ((bool)(false));
                this.column削除.AutoIncrementSeed = -1;
                this.column削除.AutoIncrementStep = -1;
                this.column削除.AllowDBNull = false;
                this.column削除.DefaultValue = ((bool)(false));
                this.columnメルマガ許諾.DefaultValue = ((int)(0));
                this.columnメルマガ許諾名.DefaultValue = ((string)(""));
                this.columnメルマガ許諾名.MaxLength = 50;
                this.ExtendedProperties.Add("Generator_TablePropName", "_D10顧客");
                this.ExtendedProperties.Add("Generator_UserTableName", "D10顧客");
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客Row NewD10顧客Row() {
                return ((D10顧客Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new D10顧客Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(D10顧客Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.D10顧客RowChanged != null)) {
                    this.D10顧客RowChanged(this, new D10顧客RowChangeEvent(((D10顧客Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.D10顧客RowChanging != null)) {
                    this.D10顧客RowChanging(this, new D10顧客RowChangeEvent(((D10顧客Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.D10顧客RowDeleted != null)) {
                    this.D10顧客RowDeleted(this, new D10顧客RowChangeEvent(((D10顧客Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.D10顧客RowDeleting != null)) {
                    this.D10顧客RowDeleting(this, new D10顧客RowChangeEvent(((D10顧客Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveD10顧客Row(D10顧客Row row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                D10顧客 ds = new D10顧客();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "D10顧客DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::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 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class D10お勧め商品_顧客毎DataTable : global::System.Data.TypedTableBase<D10お勧め商品_顧客毎Row> {
            
            private global::System.Data.DataColumn column商品No;
            
            private global::System.Data.DataColumn column商品ID;
            
            private global::System.Data.DataColumn column商品名;
            
            private global::System.Data.DataColumn column商品単価;
            
            private global::System.Data.DataColumn column類似度;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10お勧め商品_顧客毎DataTable() {
                this.TableName = "D10お勧め商品_顧客毎";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10お勧め商品_顧客毎DataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected D10お勧め商品_顧客毎DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 商品NoColumn {
                get {
                    return this.column商品No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 商品IDColumn {
                get {
                    return this.column商品ID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 商品名Column {
                get {
                    return this.column商品名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 商品単価Column {
                get {
                    return this.column商品単価;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 類似度Column {
                get {
                    return this.column類似度;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10お勧め商品_顧客毎Row this[int index] {
                get {
                    return ((D10お勧め商品_顧客毎Row)(this.Rows[index]));
                }
            }
            
            public event D10お勧め商品_顧客毎RowChangeEventHandler D10お勧め商品_顧客毎RowChanging;
            
            public event D10お勧め商品_顧客毎RowChangeEventHandler D10お勧め商品_顧客毎RowChanged;
            
            public event D10お勧め商品_顧客毎RowChangeEventHandler D10お勧め商品_顧客毎RowDeleting;
            
            public event D10お勧め商品_顧客毎RowChangeEventHandler D10お勧め商品_顧客毎RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddD10お勧め商品_顧客毎Row(D10お勧め商品_顧客毎Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10お勧め商品_顧客毎Row AddD10お勧め商品_顧客毎Row(int 商品No, string 商品ID, string 商品名, long 商品単価, double 類似度) {
                D10お勧め商品_顧客毎Row rowD10お勧め商品_顧客毎Row = ((D10お勧め商品_顧客毎Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        商品No,
                        商品ID,
                        商品名,
                        商品単価,
                        類似度};
                rowD10お勧め商品_顧客毎Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowD10お勧め商品_顧客毎Row);
                return rowD10お勧め商品_顧客毎Row;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                D10お勧め商品_顧客毎DataTable cln = ((D10お勧め商品_顧客毎DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new D10お勧め商品_顧客毎DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column商品No = base.Columns["商品No"];
                this.column商品ID = base.Columns["商品ID"];
                this.column商品名 = base.Columns["商品名"];
                this.column商品単価 = base.Columns["商品単価"];
                this.column類似度 = base.Columns["類似度"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column商品No = new global::System.Data.DataColumn("商品No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column商品No);
                this.column商品ID = new global::System.Data.DataColumn("商品ID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column商品ID);
                this.column商品名 = new global::System.Data.DataColumn("商品名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column商品名);
                this.column商品単価 = new global::System.Data.DataColumn("商品単価", typeof(long), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column商品単価);
                this.column類似度 = new global::System.Data.DataColumn("類似度", typeof(double), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column類似度);
                this.column商品ID.MaxLength = 50;
                this.column商品名.MaxLength = 100;
                this.column類似度.ReadOnly = true;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10お勧め商品_顧客毎Row NewD10お勧め商品_顧客毎Row() {
                return ((D10お勧め商品_顧客毎Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new D10お勧め商品_顧客毎Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(D10お勧め商品_顧客毎Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.D10お勧め商品_顧客毎RowChanged != null)) {
                    this.D10お勧め商品_顧客毎RowChanged(this, new D10お勧め商品_顧客毎RowChangeEvent(((D10お勧め商品_顧客毎Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.D10お勧め商品_顧客毎RowChanging != null)) {
                    this.D10お勧め商品_顧客毎RowChanging(this, new D10お勧め商品_顧客毎RowChangeEvent(((D10お勧め商品_顧客毎Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.D10お勧め商品_顧客毎RowDeleted != null)) {
                    this.D10お勧め商品_顧客毎RowDeleted(this, new D10お勧め商品_顧客毎RowChangeEvent(((D10お勧め商品_顧客毎Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.D10お勧め商品_顧客毎RowDeleting != null)) {
                    this.D10お勧め商品_顧客毎RowDeleting(this, new D10お勧め商品_顧客毎RowChangeEvent(((D10お勧め商品_顧客毎Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveD10お勧め商品_顧客毎Row(D10お勧め商品_顧客毎Row row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                D10顧客 ds = new D10顧客();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "D10お勧め商品_顧客毎DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::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 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class D10顧客2DataTable : global::System.Data.TypedTableBase<D10顧客2Row> {
            
            private global::System.Data.DataColumn column顧客No;
            
            private global::System.Data.DataColumn column顧客ID;
            
            private global::System.Data.DataColumn column氏名;
            
            private global::System.Data.DataColumn column氏名カナ;
            
            private global::System.Data.DataColumn column郵便番号;
            
            private global::System.Data.DataColumn column住所;
            
            private global::System.Data.DataColumn columnTEL;
            
            private global::System.Data.DataColumn columnメールアドレス;
            
            private global::System.Data.DataColumn columnメルマガ許諾;
            
            private global::System.Data.DataColumn column備考;
            
            private global::System.Data.DataColumn column生年月日;
            
            private global::System.Data.DataColumn column登録スタッフNo;
            
            private global::System.Data.DataColumn column登録日時;
            
            private global::System.Data.DataColumn column更新スタッフNo;
            
            private global::System.Data.DataColumn column更新日時;
            
            private global::System.Data.DataColumn column性別;
            
            private static System.DateTime column登録日時_defaultValue = global::System.DateTime.Parse("01/01/1900 00:00:00");
            
            private static System.DateTime column更新日時_defaultValue = global::System.DateTime.Parse("01/01/1900 00:00:00");
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客2DataTable() {
                this.TableName = "D10顧客2";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10顧客2DataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected D10顧客2DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客NoColumn {
                get {
                    return this.column顧客No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客IDColumn {
                get {
                    return this.column顧客ID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名Column {
                get {
                    return this.column氏名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名カナColumn {
                get {
                    return this.column氏名カナ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 郵便番号Column {
                get {
                    return this.column郵便番号;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 住所Column {
                get {
                    return this.column住所;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TELColumn {
                get {
                    return this.columnTEL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メールアドレスColumn {
                get {
                    return this.columnメールアドレス;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メルマガ許諾Column {
                get {
                    return this.columnメルマガ許諾;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 備考Column {
                get {
                    return this.column備考;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 生年月日Column {
                get {
                    return this.column生年月日;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 登録スタッフNoColumn {
                get {
                    return this.column登録スタッフNo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 登録日時Column {
                get {
                    return this.column登録日時;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 更新スタッフNoColumn {
                get {
                    return this.column更新スタッフNo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 更新日時Column {
                get {
                    return this.column更新日時;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 性別Column {
                get {
                    return this.column性別;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客2Row this[int index] {
                get {
                    return ((D10顧客2Row)(this.Rows[index]));
                }
            }
            
            public event D10顧客2RowChangeEventHandler D10顧客2RowChanging;
            
            public event D10顧客2RowChangeEventHandler D10顧客2RowChanged;
            
            public event D10顧客2RowChangeEventHandler D10顧客2RowDeleting;
            
            public event D10顧客2RowChangeEventHandler D10顧客2RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddD10顧客2Row(D10顧客2Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客2Row AddD10顧客2Row(
                        int 顧客No, 
                        string 顧客ID, 
                        string 氏名, 
                        string 氏名カナ, 
                        string 郵便番号, 
                        string 住所, 
                        string TEL, 
                        string メールアドレス, 
                        int メルマガ許諾, 
                        string 備考, 
                        System.DateTime 生年月日, 
                        int 登録スタッフNo, 
                        System.DateTime 登録日時, 
                        int 更新スタッフNo, 
                        System.DateTime 更新日時, 
                        int 性別) {
                D10顧客2Row rowD10顧客2Row = ((D10顧客2Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        顧客No,
                        顧客ID,
                        氏名,
                        氏名カナ,
                        郵便番号,
                        住所,
                        TEL,
                        メールアドレス,
                        メルマガ許諾,
                        備考,
                        生年月日,
                        登録スタッフNo,
                        登録日時,
                        更新スタッフNo,
                        更新日時,
                        性別};
                rowD10顧客2Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowD10顧客2Row);
                return rowD10顧客2Row;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                D10顧客2DataTable cln = ((D10顧客2DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new D10顧客2DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column顧客No = base.Columns["顧客No"];
                this.column顧客ID = base.Columns["顧客ID"];
                this.column氏名 = base.Columns["氏名"];
                this.column氏名カナ = base.Columns["氏名カナ"];
                this.column郵便番号 = base.Columns["郵便番号"];
                this.column住所 = base.Columns["住所"];
                this.columnTEL = base.Columns["TEL"];
                this.columnメールアドレス = base.Columns["メールアドレス"];
                this.columnメルマガ許諾 = base.Columns["メルマガ許諾"];
                this.column備考 = base.Columns["備考"];
                this.column生年月日 = base.Columns["生年月日"];
                this.column登録スタッフNo = base.Columns["登録スタッフNo"];
                this.column登録日時 = base.Columns["登録日時"];
                this.column更新スタッフNo = base.Columns["更新スタッフNo"];
                this.column更新日時 = base.Columns["更新日時"];
                this.column性別 = base.Columns["性別"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column顧客No = new global::System.Data.DataColumn("顧客No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客No);
                this.column顧客ID = new global::System.Data.DataColumn("顧客ID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客ID);
                this.column氏名 = new global::System.Data.DataColumn("氏名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名);
                this.column氏名カナ = new global::System.Data.DataColumn("氏名カナ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名カナ);
                this.column郵便番号 = new global::System.Data.DataColumn("郵便番号", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column郵便番号);
                this.column住所 = new global::System.Data.DataColumn("住所", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column住所);
                this.columnTEL = new global::System.Data.DataColumn("TEL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTEL);
                this.columnメールアドレス = new global::System.Data.DataColumn("メールアドレス", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメールアドレス);
                this.columnメルマガ許諾 = new global::System.Data.DataColumn("メルマガ許諾", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメルマガ許諾);
                this.column備考 = new global::System.Data.DataColumn("備考", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column備考);
                this.column生年月日 = new global::System.Data.DataColumn("生年月日", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column生年月日);
                this.column登録スタッフNo = new global::System.Data.DataColumn("登録スタッフNo", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column登録スタッフNo);
                this.column登録日時 = new global::System.Data.DataColumn("登録日時", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column登録日時);
                this.column更新スタッフNo = new global::System.Data.DataColumn("更新スタッフNo", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column更新スタッフNo);
                this.column更新日時 = new global::System.Data.DataColumn("更新日時", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column更新日時);
                this.column性別 = new global::System.Data.DataColumn("性別", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column性別);
                this.column顧客No.AutoIncrementSeed = -1;
                this.column顧客No.AutoIncrementStep = -1;
                this.column顧客No.AllowDBNull = false;
                this.column顧客ID.AllowDBNull = false;
                this.column顧客ID.MaxLength = 50;
                this.column氏名.AllowDBNull = false;
                this.column氏名.MaxLength = 255;
                this.column氏名カナ.AllowDBNull = false;
                this.column氏名カナ.MaxLength = 255;
                this.column郵便番号.AllowDBNull = false;
                this.column郵便番号.MaxLength = 10;
                this.column住所.AllowDBNull = false;
                this.column住所.MaxLength = 100;
                this.columnTEL.AllowDBNull = false;
                this.columnTEL.MaxLength = 20;
                this.columnメールアドレス.AllowDBNull = false;
                this.columnメールアドレス.MaxLength = 100;
                this.columnメルマガ許諾.AllowDBNull = false;
                this.column備考.AllowDBNull = false;
                this.column備考.MaxLength = 536870910;
                this.column生年月日.AllowDBNull = false;
                this.column登録スタッフNo.AllowDBNull = false;
                this.column登録日時.AllowDBNull = false;
                this.column登録日時.DefaultValue = ((System.DateTime)(D10顧客2DataTable.column登録日時_defaultValue));
                this.column更新スタッフNo.AllowDBNull = false;
                this.column更新日時.AllowDBNull = false;
                this.column更新日時.DefaultValue = ((System.DateTime)(D10顧客2DataTable.column更新日時_defaultValue));
                this.column性別.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客2Row NewD10顧客2Row() {
                return ((D10顧客2Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new D10顧客2Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(D10顧客2Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.D10顧客2RowChanged != null)) {
                    this.D10顧客2RowChanged(this, new D10顧客2RowChangeEvent(((D10顧客2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.D10顧客2RowChanging != null)) {
                    this.D10顧客2RowChanging(this, new D10顧客2RowChangeEvent(((D10顧客2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.D10顧客2RowDeleted != null)) {
                    this.D10顧客2RowDeleted(this, new D10顧客2RowChangeEvent(((D10顧客2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.D10顧客2RowDeleting != null)) {
                    this.D10顧客2RowDeleting(this, new D10顧客2RowChangeEvent(((D10顧客2Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveD10顧客2Row(D10顧客2Row row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                D10顧客 ds = new D10顧客();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "D10顧客2DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::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 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class D10RFM顧客抽出DataTable : global::System.Data.TypedTableBase<D10RFM顧客抽出Row> {
            
            private global::System.Data.DataColumn columnR;
            
            private global::System.Data.DataColumn columnF;
            
            private global::System.Data.DataColumn columnM;
            
            private global::System.Data.DataColumn column顧客No;
            
            private global::System.Data.DataColumn column顧客ID;
            
            private global::System.Data.DataColumn column氏名;
            
            private global::System.Data.DataColumn column氏名カナ;
            
            private global::System.Data.DataColumn column性別;
            
            private global::System.Data.DataColumn column郵便番号;
            
            private global::System.Data.DataColumn column住所;
            
            private global::System.Data.DataColumn columnTEL;
            
            private global::System.Data.DataColumn columnメールアドレス;
            
            private global::System.Data.DataColumn column備考;
            
            private global::System.Data.DataColumn column生年月日;
            
            private global::System.Data.DataColumn columnメルマガ許諾;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFM顧客抽出DataTable() {
                this.TableName = "D10RFM顧客抽出";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10RFM顧客抽出DataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected D10RFM顧客抽出DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RColumn {
                get {
                    return this.columnR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FColumn {
                get {
                    return this.columnF;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MColumn {
                get {
                    return this.columnM;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客NoColumn {
                get {
                    return this.column顧客No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客IDColumn {
                get {
                    return this.column顧客ID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名Column {
                get {
                    return this.column氏名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名カナColumn {
                get {
                    return this.column氏名カナ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 性別Column {
                get {
                    return this.column性別;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 郵便番号Column {
                get {
                    return this.column郵便番号;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 住所Column {
                get {
                    return this.column住所;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TELColumn {
                get {
                    return this.columnTEL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メールアドレスColumn {
                get {
                    return this.columnメールアドレス;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 備考Column {
                get {
                    return this.column備考;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 生年月日Column {
                get {
                    return this.column生年月日;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メルマガ許諾Column {
                get {
                    return this.columnメルマガ許諾;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFM顧客抽出Row this[int index] {
                get {
                    return ((D10RFM顧客抽出Row)(this.Rows[index]));
                }
            }
            
            public event D10RFM顧客抽出RowChangeEventHandler D10RFM顧客抽出RowChanging;
            
            public event D10RFM顧客抽出RowChangeEventHandler D10RFM顧客抽出RowChanged;
            
            public event D10RFM顧客抽出RowChangeEventHandler D10RFM顧客抽出RowDeleting;
            
            public event D10RFM顧客抽出RowChangeEventHandler D10RFM顧客抽出RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddD10RFM顧客抽出Row(D10RFM顧客抽出Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFM顧客抽出Row AddD10RFM顧客抽出Row(byte R, byte F, byte M, string 顧客ID, string 氏名, string 氏名カナ, string 性別, string 郵便番号, string 住所, string TEL, string メールアドレス, string 備考, System.DateTime 生年月日, string メルマガ許諾) {
                D10RFM顧客抽出Row rowD10RFM顧客抽出Row = ((D10RFM顧客抽出Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        R,
                        F,
                        M,
                        null,
                        顧客ID,
                        氏名,
                        氏名カナ,
                        性別,
                        郵便番号,
                        住所,
                        TEL,
                        メールアドレス,
                        備考,
                        生年月日,
                        メルマガ許諾};
                rowD10RFM顧客抽出Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowD10RFM顧客抽出Row);
                return rowD10RFM顧客抽出Row;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                D10RFM顧客抽出DataTable cln = ((D10RFM顧客抽出DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new D10RFM顧客抽出DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnR = base.Columns["R"];
                this.columnF = base.Columns["F"];
                this.columnM = base.Columns["M"];
                this.column顧客No = base.Columns["顧客No"];
                this.column顧客ID = base.Columns["顧客ID"];
                this.column氏名 = base.Columns["氏名"];
                this.column氏名カナ = base.Columns["氏名カナ"];
                this.column性別 = base.Columns["性別"];
                this.column郵便番号 = base.Columns["郵便番号"];
                this.column住所 = base.Columns["住所"];
                this.columnTEL = base.Columns["TEL"];
                this.columnメールアドレス = base.Columns["メールアドレス"];
                this.column備考 = base.Columns["備考"];
                this.column生年月日 = base.Columns["生年月日"];
                this.columnメルマガ許諾 = base.Columns["メルマガ許諾"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnR = new global::System.Data.DataColumn("R", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnR);
                this.columnF = new global::System.Data.DataColumn("F", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnF);
                this.columnM = new global::System.Data.DataColumn("M", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnM);
                this.column顧客No = new global::System.Data.DataColumn("顧客No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客No);
                this.column顧客ID = new global::System.Data.DataColumn("顧客ID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客ID);
                this.column氏名 = new global::System.Data.DataColumn("氏名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名);
                this.column氏名カナ = new global::System.Data.DataColumn("氏名カナ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名カナ);
                this.column性別 = new global::System.Data.DataColumn("性別", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column性別);
                this.column郵便番号 = new global::System.Data.DataColumn("郵便番号", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column郵便番号);
                this.column住所 = new global::System.Data.DataColumn("住所", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column住所);
                this.columnTEL = new global::System.Data.DataColumn("TEL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTEL);
                this.columnメールアドレス = new global::System.Data.DataColumn("メールアドレス", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメールアドレス);
                this.column備考 = new global::System.Data.DataColumn("備考", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column備考);
                this.column生年月日 = new global::System.Data.DataColumn("生年月日", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column生年月日);
                this.columnメルマガ許諾 = new global::System.Data.DataColumn("メルマガ許諾", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメルマガ許諾);
                this.column顧客No.AutoIncrement = true;
                this.column顧客No.AutoIncrementSeed = -1;
                this.column顧客No.AutoIncrementStep = -1;
                this.column顧客No.AllowDBNull = false;
                this.column顧客No.ReadOnly = true;
                this.column顧客ID.AllowDBNull = false;
                this.column顧客ID.MaxLength = 50;
                this.column氏名.AllowDBNull = false;
                this.column氏名.MaxLength = 100;
                this.column氏名カナ.AllowDBNull = false;
                this.column氏名カナ.MaxLength = 100;
                this.column性別.MaxLength = 50;
                this.column郵便番号.AllowDBNull = false;
                this.column郵便番号.MaxLength = 10;
                this.column住所.AllowDBNull = false;
                this.column住所.MaxLength = 200;
                this.columnTEL.AllowDBNull = false;
                this.columnTEL.MaxLength = 20;
                this.columnメールアドレス.AllowDBNull = false;
                this.columnメールアドレス.MaxLength = 100;
                this.column備考.AllowDBNull = false;
                this.column備考.MaxLength = 2000;
                this.column生年月日.AllowDBNull = false;
                this.columnメルマガ許諾.MaxLength = 50;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFM顧客抽出Row NewD10RFM顧客抽出Row() {
                return ((D10RFM顧客抽出Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new D10RFM顧客抽出Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(D10RFM顧客抽出Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.D10RFM顧客抽出RowChanged != null)) {
                    this.D10RFM顧客抽出RowChanged(this, new D10RFM顧客抽出RowChangeEvent(((D10RFM顧客抽出Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.D10RFM顧客抽出RowChanging != null)) {
                    this.D10RFM顧客抽出RowChanging(this, new D10RFM顧客抽出RowChangeEvent(((D10RFM顧客抽出Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.D10RFM顧客抽出RowDeleted != null)) {
                    this.D10RFM顧客抽出RowDeleted(this, new D10RFM顧客抽出RowChangeEvent(((D10RFM顧客抽出Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.D10RFM顧客抽出RowDeleting != null)) {
                    this.D10RFM顧客抽出RowDeleting(this, new D10RFM顧客抽出RowChangeEvent(((D10RFM顧客抽出Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveD10RFM顧客抽出Row(D10RFM顧客抽出Row row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                D10顧客 ds = new D10顧客();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "D10RFM顧客抽出DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::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 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class D10RFMランクDataTable : global::System.Data.TypedTableBase<D10RFMランクRow> {
            
            private global::System.Data.DataColumn columnR;
            
            private global::System.Data.DataColumn columnF;
            
            private global::System.Data.DataColumn columnM;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFMランクDataTable() {
                this.TableName = "D10RFMランク";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10RFMランクDataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected D10RFMランクDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn RColumn {
                get {
                    return this.columnR;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn FColumn {
                get {
                    return this.columnF;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn MColumn {
                get {
                    return this.columnM;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFMランクRow this[int index] {
                get {
                    return ((D10RFMランクRow)(this.Rows[index]));
                }
            }
            
            public event D10RFMランクRowChangeEventHandler D10RFMランクRowChanging;
            
            public event D10RFMランクRowChangeEventHandler D10RFMランクRowChanged;
            
            public event D10RFMランクRowChangeEventHandler D10RFMランクRowDeleting;
            
            public event D10RFMランクRowChangeEventHandler D10RFMランクRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddD10RFMランクRow(D10RFMランクRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFMランクRow AddD10RFMランクRow(byte R, byte F, byte M) {
                D10RFMランクRow rowD10RFMランクRow = ((D10RFMランクRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        R,
                        F,
                        M};
                rowD10RFMランクRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowD10RFMランクRow);
                return rowD10RFMランクRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                D10RFMランクDataTable cln = ((D10RFMランクDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new D10RFMランクDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnR = base.Columns["R"];
                this.columnF = base.Columns["F"];
                this.columnM = base.Columns["M"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnR = new global::System.Data.DataColumn("R", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnR);
                this.columnF = new global::System.Data.DataColumn("F", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnF);
                this.columnM = new global::System.Data.DataColumn("M", typeof(byte), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnM);
                this.columnR.AllowDBNull = false;
                this.columnF.AllowDBNull = false;
                this.columnM.AllowDBNull = false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFMランクRow NewD10RFMランクRow() {
                return ((D10RFMランクRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new D10RFMランクRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(D10RFMランクRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.D10RFMランクRowChanged != null)) {
                    this.D10RFMランクRowChanged(this, new D10RFMランクRowChangeEvent(((D10RFMランクRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.D10RFMランクRowChanging != null)) {
                    this.D10RFMランクRowChanging(this, new D10RFMランクRowChangeEvent(((D10RFMランクRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.D10RFMランクRowDeleted != null)) {
                    this.D10RFMランクRowDeleted(this, new D10RFMランクRowChangeEvent(((D10RFMランクRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.D10RFMランクRowDeleting != null)) {
                    this.D10RFMランクRowDeleting(this, new D10RFMランクRowChangeEvent(((D10RFMランクRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveD10RFMランクRow(D10RFMランクRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                D10顧客 ds = new D10顧客();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "D10RFMランクDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::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 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class D10家族構成DataTable : global::System.Data.TypedTableBase<D10家族構成Row> {
            
            private global::System.Data.DataColumn column新規;
            
            private global::System.Data.DataColumn column変更;
            
            private global::System.Data.DataColumn column削除;
            
            private global::System.Data.DataColumn column家族構成No;
            
            private global::System.Data.DataColumn column顧客No;
            
            private global::System.Data.DataColumn column続柄;
            
            private global::System.Data.DataColumn column続柄名;
            
            private global::System.Data.DataColumn column氏名;
            
            private global::System.Data.DataColumn column氏名カナ;
            
            private global::System.Data.DataColumn column性別;
            
            private global::System.Data.DataColumn column性別名;
            
            private global::System.Data.DataColumn column生年月日;
            
            private global::System.Data.DataColumn column郵便番号;
            
            private global::System.Data.DataColumn column住所;
            
            private global::System.Data.DataColumn columnTEL;
            
            private global::System.Data.DataColumn columnメールアドレス;
            
            private global::System.Data.DataColumn column顧客ID;
            
            private global::System.Data.DataColumn column備考;
            
            private global::System.Data.DataColumn column登録スタッフNo;
            
            private global::System.Data.DataColumn column登録日時;
            
            private global::System.Data.DataColumn column更新スタッフNo;
            
            private global::System.Data.DataColumn column更新日時;
            
            private static System.DateTime column生年月日_defaultValue = global::System.DateTime.Parse("01/01/1900 00:00:00");
            
            private static System.DateTime column登録日時_defaultValue = global::System.DateTime.Parse("01/01/1900 00:00:00");
            
            private static System.DateTime column更新日時_defaultValue = global::System.DateTime.Parse("01/01/1900 00:00:00");
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10家族構成DataTable() {
                this.TableName = "D10家族構成";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10家族構成DataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected D10家族構成DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 新規Column {
                get {
                    return this.column新規;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 変更Column {
                get {
                    return this.column変更;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 削除Column {
                get {
                    return this.column削除;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 家族構成NoColumn {
                get {
                    return this.column家族構成No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客NoColumn {
                get {
                    return this.column顧客No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 続柄Column {
                get {
                    return this.column続柄;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 続柄名Column {
                get {
                    return this.column続柄名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名Column {
                get {
                    return this.column氏名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名カナColumn {
                get {
                    return this.column氏名カナ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 性別Column {
                get {
                    return this.column性別;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 性別名Column {
                get {
                    return this.column性別名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 生年月日Column {
                get {
                    return this.column生年月日;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 郵便番号Column {
                get {
                    return this.column郵便番号;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 住所Column {
                get {
                    return this.column住所;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TELColumn {
                get {
                    return this.columnTEL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メールアドレスColumn {
                get {
                    return this.columnメールアドレス;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客IDColumn {
                get {
                    return this.column顧客ID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 備考Column {
                get {
                    return this.column備考;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 登録スタッフNoColumn {
                get {
                    return this.column登録スタッフNo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 登録日時Column {
                get {
                    return this.column登録日時;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 更新スタッフNoColumn {
                get {
                    return this.column更新スタッフNo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 更新日時Column {
                get {
                    return this.column更新日時;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10家族構成Row this[int index] {
                get {
                    return ((D10家族構成Row)(this.Rows[index]));
                }
            }
            
            public event D10家族構成RowChangeEventHandler D10家族構成RowChanging;
            
            public event D10家族構成RowChangeEventHandler D10家族構成RowChanged;
            
            public event D10家族構成RowChangeEventHandler D10家族構成RowDeleting;
            
            public event D10家族構成RowChangeEventHandler D10家族構成RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddD10家族構成Row(D10家族構成Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10家族構成Row AddD10家族構成Row(
                        bool 新規, 
                        bool 変更, 
                        bool 削除, 
                        int 家族構成No, 
                        int 顧客No, 
                        int 続柄, 
                        string 続柄名, 
                        string 氏名, 
                        string 氏名カナ, 
                        int 性別, 
                        string 性別名, 
                        System.DateTime 生年月日, 
                        string 郵便番号, 
                        string 住所, 
                        string TEL, 
                        string メールアドレス, 
                        string 顧客ID, 
                        string 備考, 
                        int 登録スタッフNo, 
                        System.DateTime 登録日時, 
                        int 更新スタッフNo, 
                        System.DateTime 更新日時) {
                D10家族構成Row rowD10家族構成Row = ((D10家族構成Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        新規,
                        変更,
                        削除,
                        家族構成No,
                        顧客No,
                        続柄,
                        続柄名,
                        氏名,
                        氏名カナ,
                        性別,
                        性別名,
                        生年月日,
                        郵便番号,
                        住所,
                        TEL,
                        メールアドレス,
                        顧客ID,
                        備考,
                        登録スタッフNo,
                        登録日時,
                        更新スタッフNo,
                        更新日時};
                rowD10家族構成Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowD10家族構成Row);
                return rowD10家族構成Row;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                D10家族構成DataTable cln = ((D10家族構成DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new D10家族構成DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column新規 = base.Columns["新規"];
                this.column変更 = base.Columns["変更"];
                this.column削除 = base.Columns["削除"];
                this.column家族構成No = base.Columns["家族構成No"];
                this.column顧客No = base.Columns["顧客No"];
                this.column続柄 = base.Columns["続柄"];
                this.column続柄名 = base.Columns["続柄名"];
                this.column氏名 = base.Columns["氏名"];
                this.column氏名カナ = base.Columns["氏名カナ"];
                this.column性別 = base.Columns["性別"];
                this.column性別名 = base.Columns["性別名"];
                this.column生年月日 = base.Columns["生年月日"];
                this.column郵便番号 = base.Columns["郵便番号"];
                this.column住所 = base.Columns["住所"];
                this.columnTEL = base.Columns["TEL"];
                this.columnメールアドレス = base.Columns["メールアドレス"];
                this.column顧客ID = base.Columns["顧客ID"];
                this.column備考 = base.Columns["備考"];
                this.column登録スタッフNo = base.Columns["登録スタッフNo"];
                this.column登録日時 = base.Columns["登録日時"];
                this.column更新スタッフNo = base.Columns["更新スタッフNo"];
                this.column更新日時 = base.Columns["更新日時"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column新規 = new global::System.Data.DataColumn("新規", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column新規);
                this.column変更 = new global::System.Data.DataColumn("変更", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column変更);
                this.column削除 = new global::System.Data.DataColumn("削除", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column削除);
                this.column家族構成No = new global::System.Data.DataColumn("家族構成No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column家族構成No);
                this.column顧客No = new global::System.Data.DataColumn("顧客No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客No);
                this.column続柄 = new global::System.Data.DataColumn("続柄", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column続柄);
                this.column続柄名 = new global::System.Data.DataColumn("続柄名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column続柄名);
                this.column氏名 = new global::System.Data.DataColumn("氏名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名);
                this.column氏名カナ = new global::System.Data.DataColumn("氏名カナ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名カナ);
                this.column性別 = new global::System.Data.DataColumn("性別", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column性別);
                this.column性別名 = new global::System.Data.DataColumn("性別名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column性別名);
                this.column生年月日 = new global::System.Data.DataColumn("生年月日", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column生年月日);
                this.column郵便番号 = new global::System.Data.DataColumn("郵便番号", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column郵便番号);
                this.column住所 = new global::System.Data.DataColumn("住所", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column住所);
                this.columnTEL = new global::System.Data.DataColumn("TEL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTEL);
                this.columnメールアドレス = new global::System.Data.DataColumn("メールアドレス", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメールアドレス);
                this.column顧客ID = new global::System.Data.DataColumn("顧客ID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客ID);
                this.column備考 = new global::System.Data.DataColumn("備考", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column備考);
                this.column登録スタッフNo = new global::System.Data.DataColumn("登録スタッフNo", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column登録スタッフNo);
                this.column登録日時 = new global::System.Data.DataColumn("登録日時", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column登録日時);
                this.column更新スタッフNo = new global::System.Data.DataColumn("更新スタッフNo", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column更新スタッフNo);
                this.column更新日時 = new global::System.Data.DataColumn("更新日時", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column更新日時);
                this.column新規.AllowDBNull = false;
                this.column新規.DefaultValue = ((bool)(false));
                this.column変更.AllowDBNull = false;
                this.column変更.DefaultValue = ((bool)(false));
                this.column削除.AllowDBNull = false;
                this.column削除.DefaultValue = ((bool)(false));
                this.column家族構成No.AutoIncrementSeed = -1;
                this.column家族構成No.AutoIncrementStep = -1;
                this.column家族構成No.ReadOnly = true;
                this.column家族構成No.DefaultValue = ((int)(0));
                this.column顧客No.DefaultValue = ((int)(0));
                this.column続柄.DefaultValue = ((int)(0));
                this.column続柄名.DefaultValue = ((string)(""));
                this.column続柄名.MaxLength = 50;
                this.column氏名.DefaultValue = ((string)(""));
                this.column氏名.MaxLength = 100;
                this.column氏名カナ.DefaultValue = ((string)(""));
                this.column氏名カナ.MaxLength = 100;
                this.column性別.DefaultValue = ((int)(0));
                this.column性別名.DefaultValue = ((string)(""));
                this.column性別名.MaxLength = 50;
                this.column生年月日.DefaultValue = ((System.DateTime)(D10家族構成DataTable.column生年月日_defaultValue));
                this.column郵便番号.DefaultValue = ((string)(""));
                this.column郵便番号.MaxLength = 50;
                this.column住所.DefaultValue = ((string)(""));
                this.column住所.MaxLength = 200;
                this.columnTEL.DefaultValue = ((string)(""));
                this.columnTEL.MaxLength = 50;
                this.columnメールアドレス.DefaultValue = ((string)(""));
                this.columnメールアドレス.MaxLength = 100;
                this.column顧客ID.DefaultValue = ((string)(""));
                this.column顧客ID.MaxLength = 50;
                this.column備考.DefaultValue = ((string)(""));
                this.column備考.MaxLength = 2000;
                this.column登録スタッフNo.DefaultValue = ((int)(0));
                this.column登録日時.DefaultValue = ((System.DateTime)(D10家族構成DataTable.column登録日時_defaultValue));
                this.column更新スタッフNo.DefaultValue = ((int)(0));
                this.column更新日時.DefaultValue = ((System.DateTime)(D10家族構成DataTable.column更新日時_defaultValue));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10家族構成Row NewD10家族構成Row() {
                return ((D10家族構成Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new D10家族構成Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(D10家族構成Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.D10家族構成RowChanged != null)) {
                    this.D10家族構成RowChanged(this, new D10家族構成RowChangeEvent(((D10家族構成Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.D10家族構成RowChanging != null)) {
                    this.D10家族構成RowChanging(this, new D10家族構成RowChangeEvent(((D10家族構成Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.D10家族構成RowDeleted != null)) {
                    this.D10家族構成RowDeleted(this, new D10家族構成RowChangeEvent(((D10家族構成Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.D10家族構成RowDeleting != null)) {
                    this.D10家族構成RowDeleting(this, new D10家族構成RowChangeEvent(((D10家族構成Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveD10家族構成Row(D10家族構成Row row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                D10顧客 ds = new D10顧客();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "D10家族構成DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::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 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class D10顧客補足DataTable : global::System.Data.TypedTableBase<D10顧客補足Row> {
            
            private global::System.Data.DataColumn column新規;
            
            private global::System.Data.DataColumn column変更;
            
            private global::System.Data.DataColumn column削除;
            
            private global::System.Data.DataColumn column顧客補足No;
            
            private global::System.Data.DataColumn column顧客No;
            
            private global::System.Data.DataColumn column補足名No;
            
            private global::System.Data.DataColumn column補足内容;
            
            private global::System.Data.DataColumn column備考;
            
            private global::System.Data.DataColumn column登録スタッフNo;
            
            private global::System.Data.DataColumn column登録日時;
            
            private global::System.Data.DataColumn column更新スタッフNo;
            
            private global::System.Data.DataColumn column更新日時;
            
            private static System.DateTime column登録日時_defaultValue = global::System.DateTime.Parse("01/01/1900 00:00:00");
            
            private static System.DateTime column更新日時_defaultValue = global::System.DateTime.Parse("01/01/1900 00:00:00");
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客補足DataTable() {
                this.TableName = "D10顧客補足";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10顧客補足DataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected D10顧客補足DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 新規Column {
                get {
                    return this.column新規;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 変更Column {
                get {
                    return this.column変更;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 削除Column {
                get {
                    return this.column削除;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客補足NoColumn {
                get {
                    return this.column顧客補足No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客NoColumn {
                get {
                    return this.column顧客No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 補足名NoColumn {
                get {
                    return this.column補足名No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 補足内容Column {
                get {
                    return this.column補足内容;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 備考Column {
                get {
                    return this.column備考;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 登録スタッフNoColumn {
                get {
                    return this.column登録スタッフNo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 登録日時Column {
                get {
                    return this.column登録日時;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 更新スタッフNoColumn {
                get {
                    return this.column更新スタッフNo;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 更新日時Column {
                get {
                    return this.column更新日時;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客補足Row this[int index] {
                get {
                    return ((D10顧客補足Row)(this.Rows[index]));
                }
            }
            
            public event D10顧客補足RowChangeEventHandler D10顧客補足RowChanging;
            
            public event D10顧客補足RowChangeEventHandler D10顧客補足RowChanged;
            
            public event D10顧客補足RowChangeEventHandler D10顧客補足RowDeleting;
            
            public event D10顧客補足RowChangeEventHandler D10顧客補足RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddD10顧客補足Row(D10顧客補足Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客補足Row AddD10顧客補足Row(bool 新規, bool 変更, bool 削除, int 顧客補足No, int 顧客No, int 補足名No, string 補足内容, string 備考, int 登録スタッフNo, System.DateTime 登録日時, int 更新スタッフNo, System.DateTime 更新日時) {
                D10顧客補足Row rowD10顧客補足Row = ((D10顧客補足Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        新規,
                        変更,
                        削除,
                        顧客補足No,
                        顧客No,
                        補足名No,
                        補足内容,
                        備考,
                        登録スタッフNo,
                        登録日時,
                        更新スタッフNo,
                        更新日時};
                rowD10顧客補足Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowD10顧客補足Row);
                return rowD10顧客補足Row;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                D10顧客補足DataTable cln = ((D10顧客補足DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new D10顧客補足DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column新規 = base.Columns["新規"];
                this.column変更 = base.Columns["変更"];
                this.column削除 = base.Columns["削除"];
                this.column顧客補足No = base.Columns["顧客補足No"];
                this.column顧客No = base.Columns["顧客No"];
                this.column補足名No = base.Columns["補足名No"];
                this.column補足内容 = base.Columns["補足内容"];
                this.column備考 = base.Columns["備考"];
                this.column登録スタッフNo = base.Columns["登録スタッフNo"];
                this.column登録日時 = base.Columns["登録日時"];
                this.column更新スタッフNo = base.Columns["更新スタッフNo"];
                this.column更新日時 = base.Columns["更新日時"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column新規 = new global::System.Data.DataColumn("新規", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column新規);
                this.column変更 = new global::System.Data.DataColumn("変更", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column変更);
                this.column削除 = new global::System.Data.DataColumn("削除", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column削除);
                this.column顧客補足No = new global::System.Data.DataColumn("顧客補足No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客補足No);
                this.column顧客No = new global::System.Data.DataColumn("顧客No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客No);
                this.column補足名No = new global::System.Data.DataColumn("補足名No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column補足名No);
                this.column補足内容 = new global::System.Data.DataColumn("補足内容", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column補足内容);
                this.column備考 = new global::System.Data.DataColumn("備考", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column備考);
                this.column登録スタッフNo = new global::System.Data.DataColumn("登録スタッフNo", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column登録スタッフNo);
                this.column登録日時 = new global::System.Data.DataColumn("登録日時", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column登録日時);
                this.column更新スタッフNo = new global::System.Data.DataColumn("更新スタッフNo", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column更新スタッフNo);
                this.column更新日時 = new global::System.Data.DataColumn("更新日時", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column更新日時);
                this.column新規.AllowDBNull = false;
                this.column新規.DefaultValue = ((bool)(false));
                this.column変更.AllowDBNull = false;
                this.column変更.DefaultValue = ((bool)(false));
                this.column削除.AllowDBNull = false;
                this.column削除.DefaultValue = ((bool)(false));
                this.column顧客補足No.AutoIncrementSeed = -1;
                this.column顧客補足No.AutoIncrementStep = -1;
                this.column顧客補足No.DefaultValue = ((int)(0));
                this.column顧客No.DefaultValue = ((int)(0));
                this.column補足名No.DefaultValue = ((int)(0));
                this.column補足内容.DefaultValue = ((string)(""));
                this.column補足内容.MaxLength = 200;
                this.column備考.DefaultValue = ((string)(""));
                this.column備考.MaxLength = 2000;
                this.column登録スタッフNo.DefaultValue = ((int)(0));
                this.column登録日時.DefaultValue = ((System.DateTime)(D10顧客補足DataTable.column登録日時_defaultValue));
                this.column更新スタッフNo.AllowDBNull = false;
                this.column更新スタッフNo.DefaultValue = ((int)(0));
                this.column更新日時.DefaultValue = ((System.DateTime)(D10顧客補足DataTable.column更新日時_defaultValue));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客補足Row NewD10顧客補足Row() {
                return ((D10顧客補足Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new D10顧客補足Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(D10顧客補足Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.D10顧客補足RowChanged != null)) {
                    this.D10顧客補足RowChanged(this, new D10顧客補足RowChangeEvent(((D10顧客補足Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.D10顧客補足RowChanging != null)) {
                    this.D10顧客補足RowChanging(this, new D10顧客補足RowChangeEvent(((D10顧客補足Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.D10顧客補足RowDeleted != null)) {
                    this.D10顧客補足RowDeleted(this, new D10顧客補足RowChangeEvent(((D10顧客補足Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.D10顧客補足RowDeleting != null)) {
                    this.D10顧客補足RowDeleting(this, new D10顧客補足RowChangeEvent(((D10顧客補足Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveD10顧客補足Row(D10顧客補足Row row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                D10顧客 ds = new D10顧客();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "D10顧客補足DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::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 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class D10顧客検索DataTable : global::System.Data.TypedTableBase<D10顧客検索Row> {
            
            private global::System.Data.DataColumn column選択;
            
            private global::System.Data.DataColumn column顧客No;
            
            private global::System.Data.DataColumn column顧客ID;
            
            private global::System.Data.DataColumn column氏名;
            
            private global::System.Data.DataColumn column氏名カナ;
            
            private global::System.Data.DataColumn column性別;
            
            private global::System.Data.DataColumn column生年月日;
            
            private global::System.Data.DataColumn column郵便番号;
            
            private global::System.Data.DataColumn column住所;
            
            private global::System.Data.DataColumn columnTEL;
            
            private global::System.Data.DataColumn columnメルマガ許諾;
            
            private global::System.Data.DataColumn columnメールアドレス;
            
            private global::System.Data.DataColumn column備考;
            
            private global::System.Data.DataColumn columnメルマガ許諾名;
            
            private global::System.Data.DataColumn column選択1;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客検索DataTable() {
                this.TableName = "D10顧客検索";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10顧客検索DataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected D10顧客検索DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 選択Column {
                get {
                    return this.column選択;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客NoColumn {
                get {
                    return this.column顧客No;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 顧客IDColumn {
                get {
                    return this.column顧客ID;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名Column {
                get {
                    return this.column氏名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 氏名カナColumn {
                get {
                    return this.column氏名カナ;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 性別Column {
                get {
                    return this.column性別;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 生年月日Column {
                get {
                    return this.column生年月日;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 郵便番号Column {
                get {
                    return this.column郵便番号;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 住所Column {
                get {
                    return this.column住所;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn TELColumn {
                get {
                    return this.columnTEL;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メルマガ許諾Column {
                get {
                    return this.columnメルマガ許諾;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メールアドレスColumn {
                get {
                    return this.columnメールアドレス;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 備考Column {
                get {
                    return this.column備考;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn メルマガ許諾名Column {
                get {
                    return this.columnメルマガ許諾名;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn 選択1Column {
                get {
                    return this.column選択1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客検索Row this[int index] {
                get {
                    return ((D10顧客検索Row)(this.Rows[index]));
                }
            }
            
            public event D10顧客検索RowChangeEventHandler D10顧客検索RowChanging;
            
            public event D10顧客検索RowChangeEventHandler D10顧客検索RowChanged;
            
            public event D10顧客検索RowChangeEventHandler D10顧客検索RowDeleting;
            
            public event D10顧客検索RowChangeEventHandler D10顧客検索RowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddD10顧客検索Row(D10顧客検索Row row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客検索Row AddD10顧客検索Row(bool 選択, string 顧客ID, string 氏名, string 氏名カナ, string 性別, System.DateTime 生年月日, string 郵便番号, string 住所, string TEL, int メルマガ許諾, string メールアドレス, string 備考, string メルマガ許諾名, int 選択1) {
                D10顧客検索Row rowD10顧客検索Row = ((D10顧客検索Row)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        選択,
                        null,
                        顧客ID,
                        氏名,
                        氏名カナ,
                        性別,
                        生年月日,
                        郵便番号,
                        住所,
                        TEL,
                        メルマガ許諾,
                        メールアドレス,
                        備考,
                        メルマガ許諾名,
                        選択1};
                rowD10顧客検索Row.ItemArray = columnValuesArray;
                this.Rows.Add(rowD10顧客検索Row);
                return rowD10顧客検索Row;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                D10顧客検索DataTable cln = ((D10顧客検索DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new D10顧客検索DataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column選択 = base.Columns["選択"];
                this.column顧客No = base.Columns["顧客No"];
                this.column顧客ID = base.Columns["顧客ID"];
                this.column氏名 = base.Columns["氏名"];
                this.column氏名カナ = base.Columns["氏名カナ"];
                this.column性別 = base.Columns["性別"];
                this.column生年月日 = base.Columns["生年月日"];
                this.column郵便番号 = base.Columns["郵便番号"];
                this.column住所 = base.Columns["住所"];
                this.columnTEL = base.Columns["TEL"];
                this.columnメルマガ許諾 = base.Columns["メルマガ許諾"];
                this.columnメールアドレス = base.Columns["メールアドレス"];
                this.column備考 = base.Columns["備考"];
                this.columnメルマガ許諾名 = base.Columns["メルマガ許諾名"];
                this.column選択1 = base.Columns["選択1"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column選択 = new global::System.Data.DataColumn("選択", typeof(bool), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column選択);
                this.column顧客No = new global::System.Data.DataColumn("顧客No", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客No);
                this.column顧客ID = new global::System.Data.DataColumn("顧客ID", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column顧客ID);
                this.column氏名 = new global::System.Data.DataColumn("氏名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名);
                this.column氏名カナ = new global::System.Data.DataColumn("氏名カナ", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column氏名カナ);
                this.column性別 = new global::System.Data.DataColumn("性別", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column性別);
                this.column生年月日 = new global::System.Data.DataColumn("生年月日", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column生年月日);
                this.column郵便番号 = new global::System.Data.DataColumn("郵便番号", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column郵便番号);
                this.column住所 = new global::System.Data.DataColumn("住所", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column住所);
                this.columnTEL = new global::System.Data.DataColumn("TEL", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnTEL);
                this.columnメルマガ許諾 = new global::System.Data.DataColumn("メルマガ許諾", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメルマガ許諾);
                this.columnメールアドレス = new global::System.Data.DataColumn("メールアドレス", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメールアドレス);
                this.column備考 = new global::System.Data.DataColumn("備考", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column備考);
                this.columnメルマガ許諾名 = new global::System.Data.DataColumn("メルマガ許諾名", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnメルマガ許諾名);
                this.column選択1 = new global::System.Data.DataColumn("選択1", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.column選択1);
                this.column選択.AllowDBNull = false;
                this.column選択.DefaultValue = ((bool)(false));
                this.column顧客No.AutoIncrement = true;
                this.column顧客No.AutoIncrementSeed = -1;
                this.column顧客No.AutoIncrementStep = -1;
                this.column顧客No.AllowDBNull = false;
                this.column顧客No.ReadOnly = true;
                this.column顧客ID.MaxLength = 50;
                this.column氏名.MaxLength = 100;
                this.column氏名カナ.MaxLength = 100;
                this.column性別.MaxLength = 50;
                this.column郵便番号.MaxLength = 10;
                this.column住所.MaxLength = 200;
                this.columnTEL.MaxLength = 20;
                this.columnメールアドレス.MaxLength = 100;
                this.column備考.MaxLength = 2000;
                this.columnメルマガ許諾名.MaxLength = 50;
                this.column選択1.ReadOnly = true;
                this.column選択1.Caption = "選択";
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客検索Row NewD10顧客検索Row() {
                return ((D10顧客検索Row)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new D10顧客検索Row(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(D10顧客検索Row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.D10顧客検索RowChanged != null)) {
                    this.D10顧客検索RowChanged(this, new D10顧客検索RowChangeEvent(((D10顧客検索Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.D10顧客検索RowChanging != null)) {
                    this.D10顧客検索RowChanging(this, new D10顧客検索RowChangeEvent(((D10顧客検索Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.D10顧客検索RowDeleted != null)) {
                    this.D10顧客検索RowDeleted(this, new D10顧客検索RowChangeEvent(((D10顧客検索Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.D10顧客検索RowDeleting != null)) {
                    this.D10顧客検索RowDeleting(this, new D10顧客検索RowChangeEvent(((D10顧客検索Row)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveD10顧客検索Row(D10顧客検索Row row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                D10顧客 ds = new D10顧客();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "D10顧客検索DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::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 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class D10顧客Row : global::System.Data.DataRow {
            
            private D10顧客DataTable tableD10顧客;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10顧客Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableD10顧客 = ((D10顧客DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 顧客No {
                get {
                    return ((int)(this[this.tableD10顧客.顧客NoColumn]));
                }
                set {
                    this[this.tableD10顧客.顧客NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 顧客ID {
                get {
                    if (this.Is顧客IDNull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.顧客IDColumn]));
                    }
                }
                set {
                    this[this.tableD10顧客.顧客IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名 {
                get {
                    if (this.Is氏名Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.氏名Column]));
                    }
                }
                set {
                    this[this.tableD10顧客.氏名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名カナ {
                get {
                    if (this.Is氏名カナNull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.氏名カナColumn]));
                    }
                }
                set {
                    this[this.tableD10顧客.氏名カナColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 性別 {
                get {
                    if (this.Is性別Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.性別Column]));
                    }
                }
                set {
                    this[this.tableD10顧客.性別Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 生年月日 {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableD10顧客.生年月日Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客\' にある列 \'生年月日\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客.生年月日Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 郵便番号 {
                get {
                    if (this.Is郵便番号Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.郵便番号Column]));
                    }
                }
                set {
                    this[this.tableD10顧客.郵便番号Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 住所 {
                get {
                    if (this.Is住所Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.住所Column]));
                    }
                }
                set {
                    this[this.tableD10顧客.住所Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TEL {
                get {
                    if (this.IsTELNull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.TELColumn]));
                    }
                }
                set {
                    this[this.tableD10顧客.TELColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string メールアドレス {
                get {
                    if (this.IsメールアドレスNull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.メールアドレスColumn]));
                    }
                }
                set {
                    this[this.tableD10顧客.メールアドレスColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 備考 {
                get {
                    if (this.Is備考Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.備考Column]));
                    }
                }
                set {
                    this[this.tableD10顧客.備考Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 新規 {
                get {
                    return ((bool)(this[this.tableD10顧客.新規Column]));
                }
                set {
                    this[this.tableD10顧客.新規Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 変更 {
                get {
                    return ((bool)(this[this.tableD10顧客.変更Column]));
                }
                set {
                    this[this.tableD10顧客.変更Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 削除 {
                get {
                    return ((bool)(this[this.tableD10顧客.削除Column]));
                }
                set {
                    this[this.tableD10顧客.削除Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int メルマガ許諾 {
                get {
                    try {
                        return ((int)(this[this.tableD10顧客.メルマガ許諾Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客\' にある列 \'メルマガ許諾\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客.メルマガ許諾Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string メルマガ許諾名 {
                get {
                    if (this.Isメルマガ許諾名Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客.メルマガ許諾名Column]));
                    }
                }
                set {
                    this[this.tableD10顧客.メルマガ許諾名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is顧客IDNull() {
                return this.IsNull(this.tableD10顧客.顧客IDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set顧客IDNull() {
                this[this.tableD10顧客.顧客IDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is氏名Null() {
                return this.IsNull(this.tableD10顧客.氏名Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set氏名Null() {
                this[this.tableD10顧客.氏名Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is氏名カナNull() {
                return this.IsNull(this.tableD10顧客.氏名カナColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set氏名カナNull() {
                this[this.tableD10顧客.氏名カナColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is性別Null() {
                return this.IsNull(this.tableD10顧客.性別Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set性別Null() {
                this[this.tableD10顧客.性別Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is生年月日Null() {
                return this.IsNull(this.tableD10顧客.生年月日Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set生年月日Null() {
                this[this.tableD10顧客.生年月日Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is郵便番号Null() {
                return this.IsNull(this.tableD10顧客.郵便番号Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set郵便番号Null() {
                this[this.tableD10顧客.郵便番号Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is住所Null() {
                return this.IsNull(this.tableD10顧客.住所Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set住所Null() {
                this[this.tableD10顧客.住所Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTELNull() {
                return this.IsNull(this.tableD10顧客.TELColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTELNull() {
                this[this.tableD10顧客.TELColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsメールアドレスNull() {
                return this.IsNull(this.tableD10顧客.メールアドレスColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetメールアドレスNull() {
                this[this.tableD10顧客.メールアドレスColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is備考Null() {
                return this.IsNull(this.tableD10顧客.備考Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set備考Null() {
                this[this.tableD10顧客.備考Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isメルマガ許諾Null() {
                return this.IsNull(this.tableD10顧客.メルマガ許諾Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setメルマガ許諾Null() {
                this[this.tableD10顧客.メルマガ許諾Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isメルマガ許諾名Null() {
                return this.IsNull(this.tableD10顧客.メルマガ許諾名Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setメルマガ許諾名Null() {
                this[this.tableD10顧客.メルマガ許諾名Column] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class D10お勧め商品_顧客毎Row : global::System.Data.DataRow {
            
            private D10お勧め商品_顧客毎DataTable tableD10お勧め商品_顧客毎;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10お勧め商品_顧客毎Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableD10お勧め商品_顧客毎 = ((D10お勧め商品_顧客毎DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 商品No {
                get {
                    try {
                        return ((int)(this[this.tableD10お勧め商品_顧客毎.商品NoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10お勧め商品_顧客毎\' にある列 \'商品No\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10お勧め商品_顧客毎.商品NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 商品ID {
                get {
                    if (this.Is商品IDNull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10お勧め商品_顧客毎.商品IDColumn]));
                    }
                }
                set {
                    this[this.tableD10お勧め商品_顧客毎.商品IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 商品名 {
                get {
                    if (this.Is商品名Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10お勧め商品_顧客毎.商品名Column]));
                    }
                }
                set {
                    this[this.tableD10お勧め商品_顧客毎.商品名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public long 商品単価 {
                get {
                    try {
                        return ((long)(this[this.tableD10お勧め商品_顧客毎.商品単価Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10お勧め商品_顧客毎\' にある列 \'商品単価\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10お勧め商品_顧客毎.商品単価Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public double 類似度 {
                get {
                    try {
                        return ((double)(this[this.tableD10お勧め商品_顧客毎.類似度Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10お勧め商品_顧客毎\' にある列 \'類似度\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10お勧め商品_顧客毎.類似度Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is商品NoNull() {
                return this.IsNull(this.tableD10お勧め商品_顧客毎.商品NoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set商品NoNull() {
                this[this.tableD10お勧め商品_顧客毎.商品NoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is商品IDNull() {
                return this.IsNull(this.tableD10お勧め商品_顧客毎.商品IDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set商品IDNull() {
                this[this.tableD10お勧め商品_顧客毎.商品IDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is商品名Null() {
                return this.IsNull(this.tableD10お勧め商品_顧客毎.商品名Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set商品名Null() {
                this[this.tableD10お勧め商品_顧客毎.商品名Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is商品単価Null() {
                return this.IsNull(this.tableD10お勧め商品_顧客毎.商品単価Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set商品単価Null() {
                this[this.tableD10お勧め商品_顧客毎.商品単価Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is類似度Null() {
                return this.IsNull(this.tableD10お勧め商品_顧客毎.類似度Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set類似度Null() {
                this[this.tableD10お勧め商品_顧客毎.類似度Column] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class D10顧客2Row : global::System.Data.DataRow {
            
            private D10顧客2DataTable tableD10顧客2;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10顧客2Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableD10顧客2 = ((D10顧客2DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 顧客No {
                get {
                    return ((int)(this[this.tableD10顧客2.顧客NoColumn]));
                }
                set {
                    this[this.tableD10顧客2.顧客NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 顧客ID {
                get {
                    return ((string)(this[this.tableD10顧客2.顧客IDColumn]));
                }
                set {
                    this[this.tableD10顧客2.顧客IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名 {
                get {
                    return ((string)(this[this.tableD10顧客2.氏名Column]));
                }
                set {
                    this[this.tableD10顧客2.氏名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名カナ {
                get {
                    return ((string)(this[this.tableD10顧客2.氏名カナColumn]));
                }
                set {
                    this[this.tableD10顧客2.氏名カナColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 郵便番号 {
                get {
                    return ((string)(this[this.tableD10顧客2.郵便番号Column]));
                }
                set {
                    this[this.tableD10顧客2.郵便番号Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 住所 {
                get {
                    return ((string)(this[this.tableD10顧客2.住所Column]));
                }
                set {
                    this[this.tableD10顧客2.住所Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TEL {
                get {
                    return ((string)(this[this.tableD10顧客2.TELColumn]));
                }
                set {
                    this[this.tableD10顧客2.TELColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string メールアドレス {
                get {
                    return ((string)(this[this.tableD10顧客2.メールアドレスColumn]));
                }
                set {
                    this[this.tableD10顧客2.メールアドレスColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int メルマガ許諾 {
                get {
                    return ((int)(this[this.tableD10顧客2.メルマガ許諾Column]));
                }
                set {
                    this[this.tableD10顧客2.メルマガ許諾Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 備考 {
                get {
                    return ((string)(this[this.tableD10顧客2.備考Column]));
                }
                set {
                    this[this.tableD10顧客2.備考Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 生年月日 {
                get {
                    return ((global::System.DateTime)(this[this.tableD10顧客2.生年月日Column]));
                }
                set {
                    this[this.tableD10顧客2.生年月日Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 登録スタッフNo {
                get {
                    return ((int)(this[this.tableD10顧客2.登録スタッフNoColumn]));
                }
                set {
                    this[this.tableD10顧客2.登録スタッフNoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 登録日時 {
                get {
                    return ((global::System.DateTime)(this[this.tableD10顧客2.登録日時Column]));
                }
                set {
                    this[this.tableD10顧客2.登録日時Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 更新スタッフNo {
                get {
                    return ((int)(this[this.tableD10顧客2.更新スタッフNoColumn]));
                }
                set {
                    this[this.tableD10顧客2.更新スタッフNoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 更新日時 {
                get {
                    return ((global::System.DateTime)(this[this.tableD10顧客2.更新日時Column]));
                }
                set {
                    this[this.tableD10顧客2.更新日時Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 性別 {
                get {
                    return ((int)(this[this.tableD10顧客2.性別Column]));
                }
                set {
                    this[this.tableD10顧客2.性別Column] = value;
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class D10RFM顧客抽出Row : global::System.Data.DataRow {
            
            private D10RFM顧客抽出DataTable tableD10RFM顧客抽出;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10RFM顧客抽出Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableD10RFM顧客抽出 = ((D10RFM顧客抽出DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte R {
                get {
                    try {
                        return ((byte)(this[this.tableD10RFM顧客抽出.RColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10RFM顧客抽出\' にある列 \'R\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10RFM顧客抽出.RColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte F {
                get {
                    try {
                        return ((byte)(this[this.tableD10RFM顧客抽出.FColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10RFM顧客抽出\' にある列 \'F\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10RFM顧客抽出.FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte M {
                get {
                    try {
                        return ((byte)(this[this.tableD10RFM顧客抽出.MColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10RFM顧客抽出\' にある列 \'M\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10RFM顧客抽出.MColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 顧客No {
                get {
                    return ((int)(this[this.tableD10RFM顧客抽出.顧客NoColumn]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.顧客NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 顧客ID {
                get {
                    return ((string)(this[this.tableD10RFM顧客抽出.顧客IDColumn]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.顧客IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名 {
                get {
                    return ((string)(this[this.tableD10RFM顧客抽出.氏名Column]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.氏名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名カナ {
                get {
                    return ((string)(this[this.tableD10RFM顧客抽出.氏名カナColumn]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.氏名カナColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 性別 {
                get {
                    try {
                        return ((string)(this[this.tableD10RFM顧客抽出.性別Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10RFM顧客抽出\' にある列 \'性別\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10RFM顧客抽出.性別Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 郵便番号 {
                get {
                    return ((string)(this[this.tableD10RFM顧客抽出.郵便番号Column]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.郵便番号Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 住所 {
                get {
                    return ((string)(this[this.tableD10RFM顧客抽出.住所Column]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.住所Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TEL {
                get {
                    return ((string)(this[this.tableD10RFM顧客抽出.TELColumn]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.TELColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string メールアドレス {
                get {
                    return ((string)(this[this.tableD10RFM顧客抽出.メールアドレスColumn]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.メールアドレスColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 備考 {
                get {
                    return ((string)(this[this.tableD10RFM顧客抽出.備考Column]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.備考Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 生年月日 {
                get {
                    return ((global::System.DateTime)(this[this.tableD10RFM顧客抽出.生年月日Column]));
                }
                set {
                    this[this.tableD10RFM顧客抽出.生年月日Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string メルマガ許諾 {
                get {
                    try {
                        return ((string)(this[this.tableD10RFM顧客抽出.メルマガ許諾Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10RFM顧客抽出\' にある列 \'メルマガ許諾\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10RFM顧客抽出.メルマガ許諾Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsRNull() {
                return this.IsNull(this.tableD10RFM顧客抽出.RColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetRNull() {
                this[this.tableD10RFM顧客抽出.RColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsFNull() {
                return this.IsNull(this.tableD10RFM顧客抽出.FColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetFNull() {
                this[this.tableD10RFM顧客抽出.FColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsMNull() {
                return this.IsNull(this.tableD10RFM顧客抽出.MColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetMNull() {
                this[this.tableD10RFM顧客抽出.MColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is性別Null() {
                return this.IsNull(this.tableD10RFM顧客抽出.性別Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set性別Null() {
                this[this.tableD10RFM顧客抽出.性別Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isメルマガ許諾Null() {
                return this.IsNull(this.tableD10RFM顧客抽出.メルマガ許諾Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setメルマガ許諾Null() {
                this[this.tableD10RFM顧客抽出.メルマガ許諾Column] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class D10RFMランクRow : global::System.Data.DataRow {
            
            private D10RFMランクDataTable tableD10RFMランク;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10RFMランクRow(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableD10RFMランク = ((D10RFMランクDataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte R {
                get {
                    return ((byte)(this[this.tableD10RFMランク.RColumn]));
                }
                set {
                    this[this.tableD10RFMランク.RColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte F {
                get {
                    return ((byte)(this[this.tableD10RFMランク.FColumn]));
                }
                set {
                    this[this.tableD10RFMランク.FColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public byte M {
                get {
                    return ((byte)(this[this.tableD10RFMランク.MColumn]));
                }
                set {
                    this[this.tableD10RFMランク.MColumn] = value;
                }
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class D10家族構成Row : global::System.Data.DataRow {
            
            private D10家族構成DataTable tableD10家族構成;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10家族構成Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableD10家族構成 = ((D10家族構成DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 新規 {
                get {
                    return ((bool)(this[this.tableD10家族構成.新規Column]));
                }
                set {
                    this[this.tableD10家族構成.新規Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 変更 {
                get {
                    return ((bool)(this[this.tableD10家族構成.変更Column]));
                }
                set {
                    this[this.tableD10家族構成.変更Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 削除 {
                get {
                    return ((bool)(this[this.tableD10家族構成.削除Column]));
                }
                set {
                    this[this.tableD10家族構成.削除Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 家族構成No {
                get {
                    try {
                        return ((int)(this[this.tableD10家族構成.家族構成NoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10家族構成\' にある列 \'家族構成No\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10家族構成.家族構成NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 顧客No {
                get {
                    try {
                        return ((int)(this[this.tableD10家族構成.顧客NoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10家族構成\' にある列 \'顧客No\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10家族構成.顧客NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 続柄 {
                get {
                    try {
                        return ((int)(this[this.tableD10家族構成.続柄Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10家族構成\' にある列 \'続柄\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10家族構成.続柄Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 続柄名 {
                get {
                    if (this.Is続柄名Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.続柄名Column]));
                    }
                }
                set {
                    this[this.tableD10家族構成.続柄名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名 {
                get {
                    if (this.Is氏名Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.氏名Column]));
                    }
                }
                set {
                    this[this.tableD10家族構成.氏名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名カナ {
                get {
                    if (this.Is氏名カナNull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.氏名カナColumn]));
                    }
                }
                set {
                    this[this.tableD10家族構成.氏名カナColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 性別 {
                get {
                    try {
                        return ((int)(this[this.tableD10家族構成.性別Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10家族構成\' にある列 \'性別\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10家族構成.性別Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 性別名 {
                get {
                    if (this.Is性別名Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.性別名Column]));
                    }
                }
                set {
                    this[this.tableD10家族構成.性別名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 生年月日 {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableD10家族構成.生年月日Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10家族構成\' にある列 \'生年月日\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10家族構成.生年月日Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 郵便番号 {
                get {
                    if (this.Is郵便番号Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.郵便番号Column]));
                    }
                }
                set {
                    this[this.tableD10家族構成.郵便番号Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 住所 {
                get {
                    if (this.Is住所Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.住所Column]));
                    }
                }
                set {
                    this[this.tableD10家族構成.住所Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TEL {
                get {
                    if (this.IsTELNull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.TELColumn]));
                    }
                }
                set {
                    this[this.tableD10家族構成.TELColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string メールアドレス {
                get {
                    if (this.IsメールアドレスNull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.メールアドレスColumn]));
                    }
                }
                set {
                    this[this.tableD10家族構成.メールアドレスColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 顧客ID {
                get {
                    if (this.Is顧客IDNull()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.顧客IDColumn]));
                    }
                }
                set {
                    this[this.tableD10家族構成.顧客IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 備考 {
                get {
                    if (this.Is備考Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10家族構成.備考Column]));
                    }
                }
                set {
                    this[this.tableD10家族構成.備考Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 登録スタッフNo {
                get {
                    try {
                        return ((int)(this[this.tableD10家族構成.登録スタッフNoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10家族構成\' にある列 \'登録スタッフNo\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10家族構成.登録スタッフNoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 登録日時 {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableD10家族構成.登録日時Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10家族構成\' にある列 \'登録日時\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10家族構成.登録日時Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 更新スタッフNo {
                get {
                    try {
                        return ((int)(this[this.tableD10家族構成.更新スタッフNoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10家族構成\' にある列 \'更新スタッフNo\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10家族構成.更新スタッフNoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 更新日時 {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableD10家族構成.更新日時Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10家族構成\' にある列 \'更新日時\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10家族構成.更新日時Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is家族構成NoNull() {
                return this.IsNull(this.tableD10家族構成.家族構成NoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set家族構成NoNull() {
                this[this.tableD10家族構成.家族構成NoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is顧客NoNull() {
                return this.IsNull(this.tableD10家族構成.顧客NoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set顧客NoNull() {
                this[this.tableD10家族構成.顧客NoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is続柄Null() {
                return this.IsNull(this.tableD10家族構成.続柄Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set続柄Null() {
                this[this.tableD10家族構成.続柄Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is続柄名Null() {
                return this.IsNull(this.tableD10家族構成.続柄名Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set続柄名Null() {
                this[this.tableD10家族構成.続柄名Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is氏名Null() {
                return this.IsNull(this.tableD10家族構成.氏名Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set氏名Null() {
                this[this.tableD10家族構成.氏名Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is氏名カナNull() {
                return this.IsNull(this.tableD10家族構成.氏名カナColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set氏名カナNull() {
                this[this.tableD10家族構成.氏名カナColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is性別Null() {
                return this.IsNull(this.tableD10家族構成.性別Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set性別Null() {
                this[this.tableD10家族構成.性別Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is性別名Null() {
                return this.IsNull(this.tableD10家族構成.性別名Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set性別名Null() {
                this[this.tableD10家族構成.性別名Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is生年月日Null() {
                return this.IsNull(this.tableD10家族構成.生年月日Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set生年月日Null() {
                this[this.tableD10家族構成.生年月日Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is郵便番号Null() {
                return this.IsNull(this.tableD10家族構成.郵便番号Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set郵便番号Null() {
                this[this.tableD10家族構成.郵便番号Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is住所Null() {
                return this.IsNull(this.tableD10家族構成.住所Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set住所Null() {
                this[this.tableD10家族構成.住所Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTELNull() {
                return this.IsNull(this.tableD10家族構成.TELColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTELNull() {
                this[this.tableD10家族構成.TELColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsメールアドレスNull() {
                return this.IsNull(this.tableD10家族構成.メールアドレスColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetメールアドレスNull() {
                this[this.tableD10家族構成.メールアドレスColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is顧客IDNull() {
                return this.IsNull(this.tableD10家族構成.顧客IDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set顧客IDNull() {
                this[this.tableD10家族構成.顧客IDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is備考Null() {
                return this.IsNull(this.tableD10家族構成.備考Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set備考Null() {
                this[this.tableD10家族構成.備考Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is登録スタッフNoNull() {
                return this.IsNull(this.tableD10家族構成.登録スタッフNoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set登録スタッフNoNull() {
                this[this.tableD10家族構成.登録スタッフNoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is登録日時Null() {
                return this.IsNull(this.tableD10家族構成.登録日時Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set登録日時Null() {
                this[this.tableD10家族構成.登録日時Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is更新スタッフNoNull() {
                return this.IsNull(this.tableD10家族構成.更新スタッフNoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set更新スタッフNoNull() {
                this[this.tableD10家族構成.更新スタッフNoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is更新日時Null() {
                return this.IsNull(this.tableD10家族構成.更新日時Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set更新日時Null() {
                this[this.tableD10家族構成.更新日時Column] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class D10顧客補足Row : global::System.Data.DataRow {
            
            private D10顧客補足DataTable tableD10顧客補足;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10顧客補足Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableD10顧客補足 = ((D10顧客補足DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 新規 {
                get {
                    return ((bool)(this[this.tableD10顧客補足.新規Column]));
                }
                set {
                    this[this.tableD10顧客補足.新規Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 変更 {
                get {
                    return ((bool)(this[this.tableD10顧客補足.変更Column]));
                }
                set {
                    this[this.tableD10顧客補足.変更Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 削除 {
                get {
                    return ((bool)(this[this.tableD10顧客補足.削除Column]));
                }
                set {
                    this[this.tableD10顧客補足.削除Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 顧客補足No {
                get {
                    try {
                        return ((int)(this[this.tableD10顧客補足.顧客補足NoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客補足\' にある列 \'顧客補足No\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客補足.顧客補足NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 顧客No {
                get {
                    try {
                        return ((int)(this[this.tableD10顧客補足.顧客NoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客補足\' にある列 \'顧客No\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客補足.顧客NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 補足名No {
                get {
                    try {
                        return ((int)(this[this.tableD10顧客補足.補足名NoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客補足\' にある列 \'補足名No\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客補足.補足名NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 補足内容 {
                get {
                    if (this.Is補足内容Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客補足.補足内容Column]));
                    }
                }
                set {
                    this[this.tableD10顧客補足.補足内容Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 備考 {
                get {
                    if (this.Is備考Null()) {
                        return null;
                    }
                    else {
                        return ((string)(this[this.tableD10顧客補足.備考Column]));
                    }
                }
                set {
                    this[this.tableD10顧客補足.備考Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 登録スタッフNo {
                get {
                    try {
                        return ((int)(this[this.tableD10顧客補足.登録スタッフNoColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客補足\' にある列 \'登録スタッフNo\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客補足.登録スタッフNoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 登録日時 {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableD10顧客補足.登録日時Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客補足\' にある列 \'登録日時\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客補足.登録日時Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 更新スタッフNo {
                get {
                    return ((int)(this[this.tableD10顧客補足.更新スタッフNoColumn]));
                }
                set {
                    this[this.tableD10顧客補足.更新スタッフNoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 更新日時 {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableD10顧客補足.更新日時Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客補足\' にある列 \'更新日時\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客補足.更新日時Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is顧客補足NoNull() {
                return this.IsNull(this.tableD10顧客補足.顧客補足NoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set顧客補足NoNull() {
                this[this.tableD10顧客補足.顧客補足NoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is顧客NoNull() {
                return this.IsNull(this.tableD10顧客補足.顧客NoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set顧客NoNull() {
                this[this.tableD10顧客補足.顧客NoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is補足名NoNull() {
                return this.IsNull(this.tableD10顧客補足.補足名NoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set補足名NoNull() {
                this[this.tableD10顧客補足.補足名NoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is補足内容Null() {
                return this.IsNull(this.tableD10顧客補足.補足内容Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set補足内容Null() {
                this[this.tableD10顧客補足.補足内容Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is備考Null() {
                return this.IsNull(this.tableD10顧客補足.備考Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set備考Null() {
                this[this.tableD10顧客補足.備考Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is登録スタッフNoNull() {
                return this.IsNull(this.tableD10顧客補足.登録スタッフNoColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set登録スタッフNoNull() {
                this[this.tableD10顧客補足.登録スタッフNoColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is登録日時Null() {
                return this.IsNull(this.tableD10顧客補足.登録日時Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set登録日時Null() {
                this[this.tableD10顧客補足.登録日時Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is更新日時Null() {
                return this.IsNull(this.tableD10顧客補足.更新日時Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set更新日時Null() {
                this[this.tableD10顧客補足.更新日時Column] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Represents strongly named DataRow class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class D10顧客検索Row : global::System.Data.DataRow {
            
            private D10顧客検索DataTable tableD10顧客検索;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal D10顧客検索Row(global::System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableD10顧客検索 = ((D10顧客検索DataTable)(this.Table));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool 選択 {
                get {
                    return ((bool)(this[this.tableD10顧客検索.選択Column]));
                }
                set {
                    this[this.tableD10顧客検索.選択Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 顧客No {
                get {
                    return ((int)(this[this.tableD10顧客検索.顧客NoColumn]));
                }
                set {
                    this[this.tableD10顧客検索.顧客NoColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 顧客ID {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.顧客IDColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'顧客ID\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.顧客IDColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名 {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.氏名Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'氏名\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.氏名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 氏名カナ {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.氏名カナColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'氏名カナ\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.氏名カナColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 性別 {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.性別Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'性別\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.性別Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.DateTime 生年月日 {
                get {
                    try {
                        return ((global::System.DateTime)(this[this.tableD10顧客検索.生年月日Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'生年月日\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.生年月日Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 郵便番号 {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.郵便番号Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'郵便番号\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.郵便番号Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 住所 {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.住所Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'住所\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.住所Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string TEL {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.TELColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'TEL\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.TELColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int メルマガ許諾 {
                get {
                    try {
                        return ((int)(this[this.tableD10顧客検索.メルマガ許諾Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'メルマガ許諾\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.メルマガ許諾Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string メールアドレス {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.メールアドレスColumn]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'メールアドレス\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.メールアドレスColumn] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string 備考 {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.備考Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'備考\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.備考Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string メルマガ許諾名 {
                get {
                    try {
                        return ((string)(this[this.tableD10顧客検索.メルマガ許諾名Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'メルマガ許諾名\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.メルマガ許諾名Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int 選択1 {
                get {
                    try {
                        return ((int)(this[this.tableD10顧客検索.選択1Column]));
                    }
                    catch (global::System.InvalidCastException e) {
                        throw new global::System.Data.StrongTypingException("テーブル \'D10顧客検索\' にある列 \'選択1\' の値は DBNull です。", e);
                    }
                }
                set {
                    this[this.tableD10顧客検索.選択1Column] = value;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is顧客IDNull() {
                return this.IsNull(this.tableD10顧客検索.顧客IDColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set顧客IDNull() {
                this[this.tableD10顧客検索.顧客IDColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is氏名Null() {
                return this.IsNull(this.tableD10顧客検索.氏名Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set氏名Null() {
                this[this.tableD10顧客検索.氏名Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is氏名カナNull() {
                return this.IsNull(this.tableD10顧客検索.氏名カナColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set氏名カナNull() {
                this[this.tableD10顧客検索.氏名カナColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is性別Null() {
                return this.IsNull(this.tableD10顧客検索.性別Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set性別Null() {
                this[this.tableD10顧客検索.性別Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is生年月日Null() {
                return this.IsNull(this.tableD10顧客検索.生年月日Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set生年月日Null() {
                this[this.tableD10顧客検索.生年月日Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is郵便番号Null() {
                return this.IsNull(this.tableD10顧客検索.郵便番号Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set郵便番号Null() {
                this[this.tableD10顧客検索.郵便番号Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is住所Null() {
                return this.IsNull(this.tableD10顧客検索.住所Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set住所Null() {
                this[this.tableD10顧客検索.住所Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsTELNull() {
                return this.IsNull(this.tableD10顧客検索.TELColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetTELNull() {
                this[this.tableD10顧客検索.TELColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isメルマガ許諾Null() {
                return this.IsNull(this.tableD10顧客検索.メルマガ許諾Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setメルマガ許諾Null() {
                this[this.tableD10顧客検索.メルマガ許諾Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool IsメールアドレスNull() {
                return this.IsNull(this.tableD10顧客検索.メールアドレスColumn);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void SetメールアドレスNull() {
                this[this.tableD10顧客検索.メールアドレスColumn] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is備考Null() {
                return this.IsNull(this.tableD10顧客検索.備考Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set備考Null() {
                this[this.tableD10顧客検索.備考Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Isメルマガ許諾名Null() {
                return this.IsNull(this.tableD10顧客検索.メルマガ許諾名Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Setメルマガ許諾名Null() {
                this[this.tableD10顧客検索.メルマガ許諾名Column] = global::System.Convert.DBNull;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool Is選択1Null() {
                return this.IsNull(this.tableD10顧客検索.選択1Column);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Set選択1Null() {
                this[this.tableD10顧客検索.選択1Column] = global::System.Convert.DBNull;
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class D10顧客RowChangeEvent : global::System.EventArgs {
            
            private D10顧客Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客RowChangeEvent(D10顧客Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class D10お勧め商品_顧客毎RowChangeEvent : global::System.EventArgs {
            
            private D10お勧め商品_顧客毎Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10お勧め商品_顧客毎RowChangeEvent(D10お勧め商品_顧客毎Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10お勧め商品_顧客毎Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class D10顧客2RowChangeEvent : global::System.EventArgs {
            
            private D10顧客2Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客2RowChangeEvent(D10顧客2Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客2Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class D10RFM顧客抽出RowChangeEvent : global::System.EventArgs {
            
            private D10RFM顧客抽出Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFM顧客抽出RowChangeEvent(D10RFM顧客抽出Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFM顧客抽出Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class D10RFMランクRowChangeEvent : global::System.EventArgs {
            
            private D10RFMランクRow eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFMランクRowChangeEvent(D10RFMランクRow row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10RFMランクRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class D10家族構成RowChangeEvent : global::System.EventArgs {
            
            private D10家族構成Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10家族構成RowChangeEvent(D10家族構成Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10家族構成Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class D10顧客補足RowChangeEvent : global::System.EventArgs {
            
            private D10顧客補足Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客補足RowChangeEvent(D10顧客補足Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客補足Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        /// <summary>
        ///Row event argument class
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public class D10顧客検索RowChangeEvent : global::System.EventArgs {
            
            private D10顧客検索Row eventRow;
            
            private global::System.Data.DataRowAction eventAction;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客検索RowChangeEvent(D10顧客検索Row row, global::System.Data.DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public D10顧客検索Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}
namespace 顧客分析君.D10顧客TableAdapters {
    
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class D10顧客ta : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public D10顧客ta() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "D10顧客";
            tableMapping.ColumnMappings.Add("顧客No", "顧客No");
            tableMapping.ColumnMappings.Add("顧客ID", "顧客ID");
            tableMapping.ColumnMappings.Add("氏名", "氏名");
            tableMapping.ColumnMappings.Add("氏名カナ", "氏名カナ");
            tableMapping.ColumnMappings.Add("性別", "性別");
            tableMapping.ColumnMappings.Add("郵便番号", "郵便番号");
            tableMapping.ColumnMappings.Add("住所", "住所");
            tableMapping.ColumnMappings.Add("TEL", "TEL");
            tableMapping.ColumnMappings.Add("メールアドレス", "メールアドレス");
            tableMapping.ColumnMappings.Add("備考", "備考");
            tableMapping.ColumnMappings.Add("生年月日", "生年月日");
            tableMapping.ColumnMappings.Add("メルマガ許諾", "メルマガ許諾");
            tableMapping.ColumnMappings.Add("メルマガ許諾名", "メルマガ許諾名");
            tableMapping.ColumnMappings.Add("新規", "新規");
            tableMapping.ColumnMappings.Add("変更", "変更");
            tableMapping.ColumnMappings.Add("削除", "削除");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::顧客分析君.Properties.Settings.Default.KB;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT          0 AS 新規, 0 AS 変更, 0 AS 削除, M03顧客.顧客No, M03顧客.顧客ID, 
                      M03顧客.氏名, M03顧客.氏名カナ, M04属性.値 AS 性別, M03顧客.生年月日, 
                      M03顧客.郵便番号, M03顧客.住所, M03顧客.TEL, M03顧客.メールアドレス, 
                      M03顧客.メルマガ許諾, M04属性_1.値 AS メルマガ許諾名, 
                      M03顧客.備考
FROM            M03顧客 LEFT OUTER JOIN
                      M04属性 AS M04属性_1 ON 
                      M03顧客.メルマガ許諾 = M04属性_1.属性No LEFT OUTER JOIN
                      M04属性 ON M03顧客.性別 = M04属性.属性No";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT DISTINCT \r\n                      M03顧客.顧客No, M03顧客.顧客ID, M03顧客.氏名, M03顧客.氏" +
                "名カナ, \r\n                      M04属性_1.値 AS 性別, M03顧客.生年月日, M03顧客.郵便番号, M03顧客.住所,\r" +
                "\n                       M03顧客.TEL, M03顧客.メルマガ許諾, M03顧客.メールアドレス, \r\n              " +
                "        M03顧客.備考, M04属性.値 AS メルマガ許諾名\r\nFROM            M03顧客 LEFT OUTER JOIN\r\n   " +
                "                   M04属性 ON M03顧客.メルマガ許諾 = M04属性.属性No LEFT OUTER JOIN\r\n         " +
                "             H01販売履歴 ON M03顧客.顧客No = H01販売履歴.顧客No LEFT OUTER JOIN\r\n             " +
                "         M04属性 AS M04属性_1 ON M03顧客.性別 = M04属性_1.属性No\r\nWHERE           (@顧客ID IS " +
                "NULL OR\r\n                      M03顧客.顧客ID LIKE \'%\' + @顧客ID + \'%\') AND (@氏名 IS NU" +
                "LL OR\r\n                      M03顧客.氏名 LIKE \'%\' + @氏名 + \'%\') AND (@氏名カナ IS NULL O" +
                "R\r\n                      M03顧客.氏名カナ LIKE \'%\' + @氏名カナ + \'%\') AND (@性別 IS NULL OR\r" +
                "\n                      M03顧客.性別 = @性別) AND (@住所 IS NULL OR\r\n                    " +
                "  M03顧客.住所 LIKE \'\' + @住所 + \'%\') AND (@郵便番号 IS NULL OR\r\n                      M03" +
                "顧客.郵便番号 LIKE \'%\' + @郵便番号 + \'%\') AND (@TEL IS NULL OR\r\n                      M03顧" +
                "客.TEL LIKE \'%\' + @TEL + \'%\') AND (@メールアドレス IS NULL OR\r\n                      M03" +
                "顧客.メールアドレス LIKE \'%\' + @メールアドレス + \'%\') AND \r\n                      (@購入済み商品No1 IS" +
                " NULL AND @購入済み商品No2 IS NULL AND \r\n                      @購入済み商品No3 IS NULL OR\r\n" +
                "                      @購入済み商品No1 IS NOT NULL AND @購入済み商品No2 IS NULL AND \r\n      " +
                "                @購入済み商品No3 IS NULL AND \r\n                      H01販売履歴.商品No = @購" +
                "入済み商品No1 OR\r\n                      @購入済み商品No1 IS NOT NULL AND @購入済み商品No2 IS NOT " +
                "NULL AND \r\n                      @購入済み商品No3 IS NULL AND \r\n                      " +
                "H01販売履歴.商品No = @購入済み商品No1 OR\r\n                      H01販売履歴.商品No = @購入済み商品No2 OR" +
                "\r\n                      @購入済み商品No1 IS NOT NULL AND @購入済み商品No2 IS NOT NULL AND \r\n" +
                "                      @購入済み商品No3 IS NOT NULL AND \r\n                      H01販売履歴" +
                ".商品No = @購入済み商品No1 OR\r\n                      H01販売履歴.商品No = @購入済み商品No2 OR\r\n     " +
                "                 H01販売履歴.商品No = @購入済み商品No3) AND (@生年月日 IS NULL OR\r\n             " +
                "         M03顧客.生年月日 = @生年月日) AND (@メルマガ許諾 IS NULL OR\r\n                      M03顧" +
                "客.メルマガ許諾 = @メルマガ許諾)\r\nORDER BY     M03顧客.顧客ID DESC";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客ID", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "顧客ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名カナ", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名カナ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@性別", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "性別", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@生年月日", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "生年月日", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@郵便番号", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "郵便番号", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@住所", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "住所", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TEL", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メールアドレス", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "メールアドレス", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メルマガ許諾", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "メルマガ許諾", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@購入済み商品No1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "商品No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@購入済み商品No2", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "商品No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@購入済み商品No3", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "商品No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = "SELECT 顧客No FROM M03顧客 WHERE (顧客ID = @Param2)";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Param2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "顧客ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = @"SELECT          M03顧客.顧客No, M03顧客.顧客ID, M03顧客.氏名, M03顧客.氏名カナ, 
                      M04属性.値 AS 性別, M03顧客.生年月日, M03顧客.郵便番号, M03顧客.住所, 
                      M03顧客.TEL, M03顧客.メールアドレス, M04属性_1.値 AS メルマガ許諾名, 
                      M03顧客.備考
FROM            M04属性 AS M04属性_1 RIGHT OUTER JOIN
                      M03顧客 ON M04属性_1.属性No = M03顧客.メルマガ許諾 LEFT OUTER JOIN
                      M04属性 ON M03顧客.性別 = M04属性.属性No LEFT OUTER JOIN
                      C06顧客動向表 RIGHT OUTER JOIN
                      C07顧客動向表_顧客 ON 
                      C06顧客動向表.動向No = C07顧客動向表_顧客.動向No ON 
                      M03顧客.顧客No = C07顧客動向表_顧客.顧客No
WHERE           (C06顧客動向表.年 = @年) AND (C06顧客動向表.月 = @月) AND 
                      (C06顧客動向表.RFM種別 = @RFM種別) AND 
                      (C06顧客動向表.RFMランク = @RFMランク)
ORDER BY     M03顧客.顧客ID";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@年", global::System.Data.SqlDbType.SmallInt, 2, global::System.Data.ParameterDirection.Input, 0, 0, "年", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@月", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "月", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RFM種別", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "RFM種別", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RFMランク", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "RFMランク", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[4].Connection = this.Connection;
            this._commandCollection[4].CommandText = "SELECT          COUNT(顧客ID) AS Expr1\r\nFROM            M03顧客\r\nWHERE           (顧客I" +
                "D = @Param2)";
            this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Param2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "顧客ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[5].Connection = this.Connection;
            this._commandCollection[5].CommandText = "SELECT         count(顧客No) as cnt\r\nFROM            M03顧客";
            this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[6].Connection = this.Connection;
            this._commandCollection[6].CommandText = "SELECT\r\n\tcount(顧客No) as cnt\r\nFROM\r\n\tM03顧客\r\nWHERE\r\n\t顧客ID = \'\' OR\r\n\t顧客ID IS NULL\r\n";
            this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(D10顧客.D10顧客DataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual D10顧客.D10顧客DataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            D10顧客.D10顧客DataTable dataTable = new D10顧客.D10顧客DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillBy検索(D10顧客.D10顧客DataTable dataTable, string 顧客ID, string 氏名, string 氏名カナ, global::System.Nullable<int> 性別, global::System.Nullable<global::System.DateTime> 生年月日, string 郵便番号, string 住所, string TEL, string メールアドレス, global::System.Nullable<int> メルマガ許諾, global::System.Nullable<int> 購入済み商品No1, global::System.Nullable<int> 購入済み商品No2, global::System.Nullable<int> 購入済み商品No3) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((顧客ID == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(顧客ID));
            }
            if ((氏名 == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(氏名));
            }
            if ((氏名カナ == null)) {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = ((string)(氏名カナ));
            }
            if ((性別.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[3].Value = ((int)(性別.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((生年月日.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(生年月日.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((郵便番号 == null)) {
                this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[5].Value = ((string)(郵便番号));
            }
            if ((住所 == null)) {
                this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[6].Value = ((string)(住所));
            }
            if ((TEL == null)) {
                this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[7].Value = ((string)(TEL));
            }
            if ((メールアドレス == null)) {
                this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[8].Value = ((string)(メールアドレス));
            }
            if ((メルマガ許諾.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[9].Value = ((int)(メルマガ許諾.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((購入済み商品No1.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[10].Value = ((int)(購入済み商品No1.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            if ((購入済み商品No2.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[11].Value = ((int)(購入済み商品No2.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            if ((購入済み商品No3.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[12].Value = ((int)(購入済み商品No3.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual D10顧客.D10顧客DataTable GetDataBy1(string 顧客ID, string 氏名, string 氏名カナ, global::System.Nullable<int> 性別, global::System.Nullable<global::System.DateTime> 生年月日, string 郵便番号, string 住所, string TEL, string メールアドレス, global::System.Nullable<int> メルマガ許諾, global::System.Nullable<int> 購入済み商品No1, global::System.Nullable<int> 購入済み商品No2, global::System.Nullable<int> 購入済み商品No3) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            if ((顧客ID == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(顧客ID));
            }
            if ((氏名 == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(氏名));
            }
            if ((氏名カナ == null)) {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = ((string)(氏名カナ));
            }
            if ((性別.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[3].Value = ((int)(性別.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((生年月日.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(生年月日.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((郵便番号 == null)) {
                this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[5].Value = ((string)(郵便番号));
            }
            if ((住所 == null)) {
                this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[6].Value = ((string)(住所));
            }
            if ((TEL == null)) {
                this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[7].Value = ((string)(TEL));
            }
            if ((メールアドレス == null)) {
                this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[8].Value = ((string)(メールアドレス));
            }
            if ((メルマガ許諾.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[9].Value = ((int)(メルマガ許諾.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((購入済み商品No1.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[10].Value = ((int)(購入済み商品No1.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            if ((購入済み商品No2.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[11].Value = ((int)(購入済み商品No2.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            if ((購入済み商品No3.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[12].Value = ((int)(購入済み商品No3.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value;
            }
            D10顧客.D10顧客DataTable dataTable = new D10顧客.D10顧客DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillBy顧客No取得(D10顧客.D10顧客DataTable dataTable, string Param2) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((Param2 == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(Param2));
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual D10顧客.D10顧客DataTable GetDataBy2(string Param2) {
            this.Adapter.SelectCommand = this.CommandCollection[2];
            if ((Param2 == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(Param2));
            }
            D10顧客.D10顧客DataTable dataTable = new D10顧客.D10顧客DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillBy顧客動向表(D10顧客.D10顧客DataTable dataTable, short 年, byte 月, byte RFM種別, byte RFMランク) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((short)(年));
            this.Adapter.SelectCommand.Parameters[1].Value = ((byte)(月));
            this.Adapter.SelectCommand.Parameters[2].Value = ((byte)(RFM種別));
            this.Adapter.SelectCommand.Parameters[3].Value = ((byte)(RFMランク));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual D10顧客.D10顧客DataTable GetDataBy3(short 年, byte 月, byte RFM種別, byte RFMランク) {
            this.Adapter.SelectCommand = this.CommandCollection[3];
            this.Adapter.SelectCommand.Parameters[0].Value = ((short)(年));
            this.Adapter.SelectCommand.Parameters[1].Value = ((byte)(月));
            this.Adapter.SelectCommand.Parameters[2].Value = ((byte)(RFM種別));
            this.Adapter.SelectCommand.Parameters[3].Value = ((byte)(RFMランク));
            D10顧客.D10顧客DataTable dataTable = new D10顧客.D10顧客DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillBy同一件数_顧客ID(D10顧客.D10顧客DataTable dataTable, string Param2) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            if ((Param2 == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(Param2));
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual D10顧客.D10顧客DataTable GetDataBy4(string Param2) {
            this.Adapter.SelectCommand = this.CommandCollection[4];
            if ((Param2 == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(Param2));
            }
            D10顧客.D10顧客DataTable dataTable = new D10顧客.D10顧客DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual object Scalar顧客Cnt() {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            object returnValue;
            try {
                returnValue = command.ExecuteScalar();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            if (((returnValue == null) 
                        || (returnValue.GetType() == typeof(global::System.DBNull)))) {
                return null;
            }
            else {
                return ((object)(returnValue));
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual global::System.Nullable<int> Scalar顧客IDが未登録の顧客Cnt() {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            object returnValue;
            try {
                returnValue = command.ExecuteScalar();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            if (((returnValue == null) 
                        || (returnValue.GetType() == typeof(global::System.DBNull)))) {
                return new global::System.Nullable<int>();
            }
            else {
                return new global::System.Nullable<int>(((int)(returnValue)));
            }
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class D10お勧め商品_顧客毎ta : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public D10お勧め商品_顧客毎ta() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "D10お勧め商品_顧客毎";
            tableMapping.ColumnMappings.Add("商品No", "商品No");
            tableMapping.ColumnMappings.Add("商品ID", "商品ID");
            tableMapping.ColumnMappings.Add("商品名", "商品名");
            tableMapping.ColumnMappings.Add("商品単価", "商品単価");
            tableMapping.ColumnMappings.Add("類似度", "類似度");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::顧客分析君.Properties.Settings.Default.KB;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT DISTINCT 
                      M02商品.商品No, M02商品.商品ID, M02商品.商品名, M02商品.商品単価, 
                      SUM(C03お勧め商品_顧客毎.類似度) AS 類似度
FROM            C03お勧め商品_顧客毎 LEFT OUTER JOIN
                      M02商品 ON C03お勧め商品_顧客毎.商品No = M02商品.商品No
WHERE           (C03お勧め商品_顧客毎.顧客No = @顧客No)
GROUP BY     M02商品.商品No, M02商品.商品ID, M02商品.商品名, M02商品.商品単価
ORDER BY     類似度 DESC";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(D10顧客.D10お勧め商品_顧客毎DataTable dataTable, int 顧客No) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(顧客No));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual D10顧客.D10お勧め商品_顧客毎DataTable GetData(int 顧客No) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(顧客No));
            D10顧客.D10お勧め商品_顧客毎DataTable dataTable = new D10顧客.D10お勧め商品_顧客毎DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class D10顧客2ta : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public D10顧客2ta() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "D10顧客2";
            tableMapping.ColumnMappings.Add("顧客No", "顧客No");
            tableMapping.ColumnMappings.Add("顧客ID", "顧客ID");
            tableMapping.ColumnMappings.Add("氏名", "氏名");
            tableMapping.ColumnMappings.Add("氏名カナ", "氏名カナ");
            tableMapping.ColumnMappings.Add("郵便番号", "郵便番号");
            tableMapping.ColumnMappings.Add("住所", "住所");
            tableMapping.ColumnMappings.Add("TEL", "TEL");
            tableMapping.ColumnMappings.Add("メールアドレス", "メールアドレス");
            tableMapping.ColumnMappings.Add("備考", "備考");
            tableMapping.ColumnMappings.Add("生年月日", "生年月日");
            tableMapping.ColumnMappings.Add("登録スタッフNo", "登録スタッフNo");
            tableMapping.ColumnMappings.Add("登録日時", "登録日時");
            tableMapping.ColumnMappings.Add("更新日時", "更新日時");
            tableMapping.ColumnMappings.Add("性別", "性別");
            tableMapping.ColumnMappings.Add("メルマガ許諾", "メルマガ許諾");
            tableMapping.ColumnMappings.Add("更新スタッフNo", "更新スタッフNo");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM M03顧客\r\nWHERE           (顧客No = @顧客No)";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO M03顧客
                      (顧客ID, 氏名, 氏名カナ, 性別, 生年月日, 郵便番号, 住所, TEL, 
                      メールアドレス, メルマガ許諾, 備考, 登録スタッフNo, 登録日時, 
                      更新スタッフNo, 更新日時)
VALUES         (@顧客ID,@氏名,@氏名カナ,@性別,@生年月日,@郵便番号,@住所,@TEL,@メールアドレス,@メルマガ許諾,@備考,@登録スタッフNo,
                       GETDATE(),@登録スタッフNo, GETDATE())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客ID", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "顧客ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名カナ", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名カナ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@性別", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "性別", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@生年月日", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "生年月日", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@郵便番号", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "郵便番号", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@住所", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "住所", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TEL", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メールアドレス", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "メールアドレス", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メルマガ許諾", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "メルマガ許諾", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@備考", global::System.Data.SqlDbType.VarChar, 2000, global::System.Data.ParameterDirection.Input, 0, 0, "備考", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@登録スタッフNo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "更新スタッフNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE         M03顧客
SET                顧客ID = @顧客ID, 氏名 = @氏名, 氏名カナ = @氏名カナ, 性別 = @性別, 
                      生年月日 = @生年月日, 郵便番号 = @郵便番号, 住所 = @住所, TEL = @TEL, 
                      メールアドレス = @メールアドレス, メルマガ許諾 = @メルマガ許諾, 
                      備考 = @備考, 更新スタッフNo = @更新スタッフNo, 更新日時 = GETDATE()
WHERE           (顧客No = @顧客No)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客ID", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "顧客ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名カナ", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名カナ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@性別", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "性別", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@生年月日", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "生年月日", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@郵便番号", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "郵便番号", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@住所", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "住所", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TEL", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メールアドレス", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "メールアドレス", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メルマガ許諾", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "メルマガ許諾", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@備考", global::System.Data.SqlDbType.VarChar, 2000, global::System.Data.ParameterDirection.Input, 0, 0, "備考", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@更新スタッフNo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "更新スタッフNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::顧客分析君.Properties.Settings.Default.KB;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT          顧客No, 顧客ID, 氏名, 氏名カナ, 生年月日, 郵便番号, 住所, TEL, \r\n                    " +
                "  メールアドレス, 備考, 登録スタッフNo, 登録日時, 更新日時, メルマガ許諾, \r\n                      更新スタッフNo, 性" +
                "別\r\nFROM            M03顧客";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(D10顧客.D10顧客2DataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual D10顧客.D10顧客2DataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            D10顧客.D10顧客2DataTable dataTable = new D10顧客.D10顧客2DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(D10顧客.D10顧客2DataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(D10顧客 dataSet) {
            return this.Adapter.Update(dataSet, "D10顧客2");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int 顧客No) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(顧客No));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(string 顧客ID, string 氏名, string 氏名カナ, global::System.Nullable<int> 性別, global::System.Nullable<global::System.DateTime> 生年月日, string 郵便番号, string 住所, string TEL, string メールアドレス, global::System.Nullable<int> メルマガ許諾, string 備考, global::System.Nullable<int> 登録スタッフNo) {
            if ((顧客ID == null)) {
                this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[0].Value = ((string)(顧客ID));
            }
            if ((氏名 == null)) {
                this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[1].Value = ((string)(氏名));
            }
            if ((氏名カナ == null)) {
                this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(氏名カナ));
            }
            if ((性別.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[3].Value = ((int)(性別.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((生年月日.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(生年月日.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((郵便番号 == null)) {
                this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[5].Value = ((string)(郵便番号));
            }
            if ((住所 == null)) {
                this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[6].Value = ((string)(住所));
            }
            if ((TEL == null)) {
                this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[7].Value = ((string)(TEL));
            }
            if ((メールアドレス == null)) {
                this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[8].Value = ((string)(メールアドレス));
            }
            if ((メルマガ許諾.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[9].Value = ((int)(メルマガ許諾.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((備考 == null)) {
                this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.InsertCommand.Parameters[10].Value = ((string)(備考));
            }
            if ((登録スタッフNo.HasValue == true)) {
                this.Adapter.InsertCommand.Parameters[11].Value = ((int)(登録スタッフNo.Value));
            }
            else {
                this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(string 顧客ID, string 氏名, string 氏名カナ, int 性別, System.DateTime 生年月日, string 郵便番号, string 住所, string TEL, string メールアドレス, int メルマガ許諾, string 備考, int 更新スタッフNo, int 顧客No) {
            if ((顧客ID == null)) {
                throw new global::System.ArgumentNullException("顧客ID");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(顧客ID));
            }
            if ((氏名 == null)) {
                throw new global::System.ArgumentNullException("氏名");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(氏名));
            }
            if ((氏名カナ == null)) {
                throw new global::System.ArgumentNullException("氏名カナ");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(氏名カナ));
            }
            this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(性別));
            this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(生年月日));
            if ((郵便番号 == null)) {
                throw new global::System.ArgumentNullException("郵便番号");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(郵便番号));
            }
            if ((住所 == null)) {
                throw new global::System.ArgumentNullException("住所");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(住所));
            }
            if ((TEL == null)) {
                throw new global::System.ArgumentNullException("TEL");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(TEL));
            }
            if ((メールアドレス == null)) {
                throw new global::System.ArgumentNullException("メールアドレス");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(メールアドレス));
            }
            this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(メルマガ許諾));
            if ((備考 == null)) {
                throw new global::System.ArgumentNullException("備考");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(備考));
            }
            this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(更新スタッフNo));
            this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(顧客No));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class D10RFM顧客抽出ta : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public D10RFM顧客抽出ta() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "D10RFM顧客抽出";
            tableMapping.ColumnMappings.Add("R", "R");
            tableMapping.ColumnMappings.Add("F", "F");
            tableMapping.ColumnMappings.Add("M", "M");
            tableMapping.ColumnMappings.Add("顧客No", "顧客No");
            tableMapping.ColumnMappings.Add("顧客ID", "顧客ID");
            tableMapping.ColumnMappings.Add("氏名", "氏名");
            tableMapping.ColumnMappings.Add("氏名カナ", "氏名カナ");
            tableMapping.ColumnMappings.Add("性別", "性別");
            tableMapping.ColumnMappings.Add("郵便番号", "郵便番号");
            tableMapping.ColumnMappings.Add("住所", "住所");
            tableMapping.ColumnMappings.Add("TEL", "TEL");
            tableMapping.ColumnMappings.Add("メールアドレス", "メールアドレス");
            tableMapping.ColumnMappings.Add("備考", "備考");
            tableMapping.ColumnMappings.Add("生年月日", "生年月日");
            tableMapping.ColumnMappings.Add("メルマガ許諾", "メルマガ許諾");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::顧客分析君.Properties.Settings.Default.KB;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT          M03顧客.顧客No, C02RFM.R, C02RFM.F, C02RFM.M, M03顧客.顧客ID, 
                      M03顧客.氏名, M03顧客.氏名カナ, M04属性.値 AS 性別, M03顧客.生年月日, 
                      M03顧客.郵便番号, M03顧客.住所, M03顧客.TEL, M03顧客.メールアドレス, 
                      M04属性_1.値 AS メルマガ許諾, M03顧客.備考
FROM            M03顧客 LEFT OUTER JOIN
                      M04属性 AS M04属性_1 ON 
                      M03顧客.メルマガ許諾 = M04属性_1.属性No LEFT OUTER JOIN
                      M04属性 ON M03顧客.性別 = M04属性.属性No LEFT OUTER JOIN
                      C02RFM ON M03顧客.顧客No = C02RFM.顧客No
WHERE           (C02RFM.R = @R) AND (C02RFM.F = @F) AND (C02RFM.M = @M) AND 
                      (M04属性.区分 = 1)
ORDER BY     M03顧客.顧客ID";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@R", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "R", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@F", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "F", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@M", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "M", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = @"SELECT          M03顧客.顧客No, 0 AS R, C11FM.F, C11FM.M, M03顧客.顧客ID, 
                      M03顧客.氏名, M03顧客.氏名カナ, M04属性.値 AS 性別, M03顧客.生年月日, 
                      M03顧客.郵便番号, M03顧客.住所, M03顧客.TEL, M03顧客.メールアドレス, 
                      M04属性_1.値 AS メルマガ許諾, M03顧客.備考
FROM            M03顧客 LEFT OUTER JOIN
                      M04属性 AS M04属性_1 ON 
                      M03顧客.メルマガ許諾 = M04属性_1.属性No LEFT OUTER JOIN
                      M04属性 ON M03顧客.性別 = M04属性.属性No LEFT OUTER JOIN
                      C11FM ON M03顧客.顧客No = C11FM.顧客No
WHERE           (C11FM.F = @F) AND (C11FM.M = @M) AND (M04属性.区分 = 1) AND 
                      (YEAR(C11FM.年月) = @年) AND (MONTH(C11FM.年月) = @月)
ORDER BY     M03顧客.顧客ID";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@F", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "F", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@M", global::System.Data.SqlDbType.TinyInt, 1, global::System.Data.ParameterDirection.Input, 0, 0, "M", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@年", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@月", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(D10顧客.D10RFM顧客抽出DataTable dataTable, byte R, byte F, byte M) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((byte)(R));
            this.Adapter.SelectCommand.Parameters[1].Value = ((byte)(F));
            this.Adapter.SelectCommand.Parameters[2].Value = ((byte)(M));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual D10顧客.D10RFM顧客抽出DataTable GetData(byte R, byte F, byte M) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((byte)(R));
            this.Adapter.SelectCommand.Parameters[1].Value = ((byte)(F));
            this.Adapter.SelectCommand.Parameters[2].Value = ((byte)(M));
            D10顧客.D10RFM顧客抽出DataTable dataTable = new D10顧客.D10RFM顧客抽出DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillByFM分析からの抽出(D10顧客.D10RFM顧客抽出DataTable dataTable, byte F, byte M, decimal 年, decimal 月) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((byte)(F));
            this.Adapter.SelectCommand.Parameters[1].Value = ((byte)(M));
            this.Adapter.SelectCommand.Parameters[2].Value = ((decimal)(年));
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(月));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual D10顧客.D10RFM顧客抽出DataTable GetDataBy(byte F, byte M, decimal 年, decimal 月) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((byte)(F));
            this.Adapter.SelectCommand.Parameters[1].Value = ((byte)(M));
            this.Adapter.SelectCommand.Parameters[2].Value = ((decimal)(年));
            this.Adapter.SelectCommand.Parameters[3].Value = ((decimal)(月));
            D10顧客.D10RFM顧客抽出DataTable dataTable = new D10顧客.D10RFM顧客抽出DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class D10RFMランクta : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public D10RFMランクta() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "D10RFMランク";
            tableMapping.ColumnMappings.Add("R", "R");
            tableMapping.ColumnMappings.Add("F", "F");
            tableMapping.ColumnMappings.Add("M", "M");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::顧客分析君.Properties.Settings.Default.KB;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT                  R , F , M \r\nFROM                     C02RFM\r\nWHERE       " +
                "            (顧客No = @顧客No)";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT\r\n\tMAX(販売日時) as 販売日時\r\nFROM\r\n\tH01販売履歴\r\nWHERE\r\n\t(顧客No = @顧客No)\r\n";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = "SELECT\r\n\tCOUNT(販売日時) as 販売日時Cnt\r\nFROM (\r\n\tSELECT\r\n\t\tDISTINCT 販売日時 as 販売日時\r\n\tFROM\r" +
                "\n\t\tH01販売履歴\r\n\tWHERE\r\n\t\t(顧客No = @顧客No)\r\n) as t\r\n";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = "SELECT\r\n\tSUM(販売金額) as 販売金額Sum\r\nFROM\r\n\tH01販売履歴\r\nWHERE\r\n\t(顧客No = @顧客No)\r\n";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(D10顧客.D10RFMランクDataTable dataTable, int 顧客No) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(顧客No));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual D10顧客.D10RFMランクDataTable GetData(int 顧客No) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(顧客No));
            D10顧客.D10RFMランクDataTable dataTable = new D10顧客.D10RFMランクDataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual object Scalar顧客別_最新購買日(global::System.Nullable<int> 顧客No) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
            if ((顧客No.HasValue == true)) {
                command.Parameters[0].Value = ((int)(顧客No.Value));
            }
            else {
                command.Parameters[0].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            object returnValue;
            try {
                returnValue = command.ExecuteScalar();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            if (((returnValue == null) 
                        || (returnValue.GetType() == typeof(global::System.DBNull)))) {
                return null;
            }
            else {
                return ((object)(returnValue));
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual object Scalar顧客別_累計購買回数(global::System.Nullable<int> 顧客No) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
            if ((顧客No.HasValue == true)) {
                command.Parameters[0].Value = ((int)(顧客No.Value));
            }
            else {
                command.Parameters[0].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            object returnValue;
            try {
                returnValue = command.ExecuteScalar();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            if (((returnValue == null) 
                        || (returnValue.GetType() == typeof(global::System.DBNull)))) {
                return null;
            }
            else {
                return ((object)(returnValue));
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual object Scalar顧客別_累計購買金額(global::System.Nullable<int> 顧客No) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
            if ((顧客No.HasValue == true)) {
                command.Parameters[0].Value = ((int)(顧客No.Value));
            }
            else {
                command.Parameters[0].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            object returnValue;
            try {
                returnValue = command.ExecuteScalar();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            if (((returnValue == null) 
                        || (returnValue.GetType() == typeof(global::System.DBNull)))) {
                return null;
            }
            else {
                return ((object)(returnValue));
            }
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class D10家族構成ta : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public D10家族構成ta() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "D10家族構成";
            tableMapping.ColumnMappings.Add("新規", "新規");
            tableMapping.ColumnMappings.Add("変更", "変更");
            tableMapping.ColumnMappings.Add("削除", "削除");
            tableMapping.ColumnMappings.Add("家族構成No", "家族構成No");
            tableMapping.ColumnMappings.Add("顧客No", "顧客No");
            tableMapping.ColumnMappings.Add("氏名", "氏名");
            tableMapping.ColumnMappings.Add("氏名カナ", "氏名カナ");
            tableMapping.ColumnMappings.Add("性別", "性別");
            tableMapping.ColumnMappings.Add("性別名", "性別名");
            tableMapping.ColumnMappings.Add("生年月日", "生年月日");
            tableMapping.ColumnMappings.Add("郵便番号", "郵便番号");
            tableMapping.ColumnMappings.Add("住所", "住所");
            tableMapping.ColumnMappings.Add("TEL", "TEL");
            tableMapping.ColumnMappings.Add("メールアドレス", "メールアドレス");
            tableMapping.ColumnMappings.Add("顧客ID", "顧客ID");
            tableMapping.ColumnMappings.Add("備考", "備考");
            tableMapping.ColumnMappings.Add("登録スタッフNo", "登録スタッフNo");
            tableMapping.ColumnMappings.Add("登録日時", "登録日時");
            tableMapping.ColumnMappings.Add("更新スタッフNo", "更新スタッフNo");
            tableMapping.ColumnMappings.Add("更新日時", "更新日時");
            tableMapping.ColumnMappings.Add("続柄", "続柄");
            tableMapping.ColumnMappings.Add("続柄名", "続柄名");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::顧客分析君.Properties.Settings.Default.KB;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"/* Fill*/
SELECT          0 AS 新規, 0 AS 変更, 0 AS 削除, H04家族構成.家族構成No, 
                      H04家族構成.顧客No, H04家族構成.家族区分 AS 続柄, M04属性.値 AS 続柄名,
                       H04家族構成.氏名, H04家族構成.氏名カナ, H04家族構成.性別, 
                      M04属性_1.値 AS 性別名, H04家族構成.生年月日, H04家族構成.郵便番号, 
                      H04家族構成.住所, H04家族構成.TEL, H04家族構成.メールアドレス, 
                      H04家族構成.顧客ID, H04家族構成.備考, H04家族構成.登録スタッフNo, 
                      H04家族構成.登録日時, H04家族構成.更新スタッフNo, 
                      H04家族構成.更新日時
FROM            M04属性 AS M04属性_1 RIGHT OUTER JOIN
                      H04家族構成 ON M04属性_1.属性No = H04家族構成.性別 LEFT OUTER JOIN
                      M04属性 ON H04家族構成.家族区分 = M04属性.属性No
WHERE           (H04家族構成.顧客No = @顧客No)";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "DELETE FROM \r\n\tH04家族構成\r\nWHERE\r\n\t家族構成No = @家族構成No\r\n";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@家族構成No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "家族構成No", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[2].Connection = this.Connection;
            this._commandCollection[2].CommandText = @"INSERT INTO H04家族構成
                      (顧客No, 家族区分, 氏名, 氏名カナ, 性別, 生年月日, 郵便番号, 住所, TEL, 
                      メールアドレス, 顧客ID, 備考, 登録スタッフNo, 登録日時, 更新スタッフNo, 
                      更新日時)
VALUES         (@顧客No,@家族区分,@氏名,@氏名カナ,@性別,@生年月日,@郵便番号,@住所,@TEL,@メールアドレス,@顧客ID,@備考,@登録スタッフNo,
                       GETDATE(),@登録スタッフNo, GETDATE())";
            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@家族区分", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "家族区分", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名カナ", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名カナ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@性別", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "性別", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@生年月日", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "生年月日", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@郵便番号", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "郵便番号", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@住所", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "住所", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TEL", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メールアドレス", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "メールアドレス", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客ID", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "顧客ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@備考", global::System.Data.SqlDbType.VarChar, 2000, global::System.Data.ParameterDirection.Input, 0, 0, "備考", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@登録スタッフNo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "更新スタッフNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[3].Connection = this.Connection;
            this._commandCollection[3].CommandText = @"UPDATE         H04家族構成
SET                顧客No = @顧客No, 家族区分 = @家族区分, 氏名 = @氏名, 
                      氏名カナ = @氏名カナ, 性別 = @性別, 生年月日 = @生年月日, 
                      郵便番号 = @郵便番号, 住所 = @住所, TEL = @TEL, 
                      メールアドレス = @メールアドレス, 顧客ID = @顧客ID, 備考 = @備考, 
                      更新スタッフNo = @更新スタッフNo, 更新日時 = GETDATE()
WHERE           (家族構成No = @家族構成No)";
            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@家族区分", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "家族区分", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名カナ", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名カナ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@性別", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "性別", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@生年月日", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "生年月日", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@郵便番号", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "郵便番号", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@住所", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "住所", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TEL", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メールアドレス", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "メールアドレス", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客ID", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "顧客ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@備考", global::System.Data.SqlDbType.VarChar, 2000, global::System.Data.ParameterDirection.Input, 0, 0, "備考", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@更新スタッフNo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "更新スタッフNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@家族構成No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "家族構成No", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(D10顧客.D10家族構成DataTable dataTable, global::System.Nullable<int> 顧客No) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((顧客No.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(顧客No.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual D10顧客.D10家族構成DataTable GetData(global::System.Nullable<int> 顧客No) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((顧客No.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[0].Value = ((int)(顧客No.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            D10顧客.D10家族構成DataTable dataTable = new D10顧客.D10家族構成DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
        public virtual int DeleteQuery(int 家族構成No) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
            command.Parameters[0].Value = ((int)(家族構成No));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, false)]
        public virtual int InsertQuery(int 顧客No, int 家族区分, string 氏名, string 氏名カナ, int 性別, System.DateTime 生年月日, string 郵便番号, string 住所, string TEL, string メールアドレス, string 顧客ID, string 備考, int 登録スタッフNo) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
            command.Parameters[0].Value = ((int)(顧客No));
            command.Parameters[1].Value = ((int)(家族区分));
            if ((氏名 == null)) {
                throw new global::System.ArgumentNullException("氏名");
            }
            else {
                command.Parameters[2].Value = ((string)(氏名));
            }
            if ((氏名カナ == null)) {
                throw new global::System.ArgumentNullException("氏名カナ");
            }
            else {
                command.Parameters[3].Value = ((string)(氏名カナ));
            }
            command.Parameters[4].Value = ((int)(性別));
            command.Parameters[5].Value = ((System.DateTime)(生年月日));
            if ((郵便番号 == null)) {
                throw new global::System.ArgumentNullException("郵便番号");
            }
            else {
                command.Parameters[6].Value = ((string)(郵便番号));
            }
            if ((住所 == null)) {
                throw new global::System.ArgumentNullException("住所");
            }
            else {
                command.Parameters[7].Value = ((string)(住所));
            }
            if ((TEL == null)) {
                throw new global::System.ArgumentNullException("TEL");
            }
            else {
                command.Parameters[8].Value = ((string)(TEL));
            }
            if ((メールアドレス == null)) {
                throw new global::System.ArgumentNullException("メールアドレス");
            }
            else {
                command.Parameters[9].Value = ((string)(メールアドレス));
            }
            if ((顧客ID == null)) {
                throw new global::System.ArgumentNullException("顧客ID");
            }
            else {
                command.Parameters[10].Value = ((string)(顧客ID));
            }
            if ((備考 == null)) {
                throw new global::System.ArgumentNullException("備考");
            }
            else {
                command.Parameters[11].Value = ((string)(備考));
            }
            command.Parameters[12].Value = ((int)(登録スタッフNo));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int UpdateQuery(global::System.Nullable<int> 顧客No, global::System.Nullable<int> 家族区分, string 氏名, string 氏名カナ, global::System.Nullable<int> 性別, global::System.Nullable<global::System.DateTime> 生年月日, string 郵便番号, string 住所, string TEL, string メールアドレス, string 顧客ID, string 備考, global::System.Nullable<int> 更新スタッフNo, int 家族構成No) {
            global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
            if ((顧客No.HasValue == true)) {
                command.Parameters[0].Value = ((int)(顧客No.Value));
            }
            else {
                command.Parameters[0].Value = global::System.DBNull.Value;
            }
            if ((家族区分.HasValue == true)) {
                command.Parameters[1].Value = ((int)(家族区分.Value));
            }
            else {
                command.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((氏名 == null)) {
                command.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                command.Parameters[2].Value = ((string)(氏名));
            }
            if ((氏名カナ == null)) {
                command.Parameters[3].Value = global::System.DBNull.Value;
            }
            else {
                command.Parameters[3].Value = ((string)(氏名カナ));
            }
            if ((性別.HasValue == true)) {
                command.Parameters[4].Value = ((int)(性別.Value));
            }
            else {
                command.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((生年月日.HasValue == true)) {
                command.Parameters[5].Value = ((System.DateTime)(生年月日.Value));
            }
            else {
                command.Parameters[5].Value = global::System.DBNull.Value;
            }
            if ((郵便番号 == null)) {
                command.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                command.Parameters[6].Value = ((string)(郵便番号));
            }
            if ((住所 == null)) {
                command.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                command.Parameters[7].Value = ((string)(住所));
            }
            if ((TEL == null)) {
                command.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                command.Parameters[8].Value = ((string)(TEL));
            }
            if ((メールアドレス == null)) {
                command.Parameters[9].Value = global::System.DBNull.Value;
            }
            else {
                command.Parameters[9].Value = ((string)(メールアドレス));
            }
            if ((顧客ID == null)) {
                command.Parameters[10].Value = global::System.DBNull.Value;
            }
            else {
                command.Parameters[10].Value = ((string)(顧客ID));
            }
            if ((備考 == null)) {
                command.Parameters[11].Value = global::System.DBNull.Value;
            }
            else {
                command.Parameters[11].Value = ((string)(備考));
            }
            if ((更新スタッフNo.HasValue == true)) {
                command.Parameters[12].Value = ((int)(更新スタッフNo.Value));
            }
            else {
                command.Parameters[12].Value = global::System.DBNull.Value;
            }
            command.Parameters[13].Value = ((int)(家族構成No));
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                command.Connection.Open();
            }
            int returnValue;
            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    command.Connection.Close();
                }
            }
            return returnValue;
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class D10顧客補足ta : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public D10顧客補足ta() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "D10顧客補足";
            tableMapping.ColumnMappings.Add("新規", "新規");
            tableMapping.ColumnMappings.Add("変更", "変更");
            tableMapping.ColumnMappings.Add("削除", "削除");
            tableMapping.ColumnMappings.Add("顧客補足No", "顧客補足No");
            tableMapping.ColumnMappings.Add("顧客No", "顧客No");
            tableMapping.ColumnMappings.Add("補足名No", "補足名No");
            tableMapping.ColumnMappings.Add("補足内容", "補足内容");
            tableMapping.ColumnMappings.Add("備考", "備考");
            tableMapping.ColumnMappings.Add("登録スタッフNo", "登録スタッフNo");
            tableMapping.ColumnMappings.Add("登録日時", "登録日時");
            tableMapping.ColumnMappings.Add("更新スタッフNo", "更新スタッフNo");
            tableMapping.ColumnMappings.Add("更新日時", "更新日時");
            this._adapter.TableMappings.Add(tableMapping);
            this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.DeleteCommand.Connection = this.Connection;
            this._adapter.DeleteCommand.CommandText = "DELETE FROM H05顧客補足\r\nWHERE           (顧客補足No = @顧客補足No)";
            this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客補足No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客補足No", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
            this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.InsertCommand.Connection = this.Connection;
            this._adapter.InsertCommand.CommandText = @"INSERT INTO H05顧客補足
                      (顧客No, 補足名No, 補足内容, 備考, 登録スタッフNo, 登録日時, 
                      更新スタッフNo, 更新日時)
VALUES         (@顧客No,@補足名No,@補足内容,@備考,@登録スタッフNo, 
                      GETDATE(),@登録スタッフNo, GETDATE()); 
SELECT 0 AS 新規, 0 AS 変更, 0 AS 削除, 顧客補足No, 顧客No, 補足名No, 補足内容, 備考, 登録スタッフNo, 登録日時, 更新スタッフNo, 更新日時 FROM H05顧客補足 WHERE (顧客補足No = SCOPE_IDENTITY())";
            this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@補足名No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "補足名No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@補足内容", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "補足内容", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@備考", global::System.Data.SqlDbType.VarChar, 2000, global::System.Data.ParameterDirection.Input, 0, 0, "備考", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@登録スタッフNo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "更新スタッフNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
            this._adapter.UpdateCommand.Connection = this.Connection;
            this._adapter.UpdateCommand.CommandText = @"UPDATE         H05顧客補足
SET                顧客No = @顧客No, 補足名No = @補足名No, 補足内容 = @補足内容, 
                      備考 = @備考, 更新スタッフNo = @更新スタッフNo, 更新日時 = GETDATE()
WHERE           (顧客補足No = @顧客補足No); 
SELECT 0 AS 新規, 0 AS 変更, 0 AS 削除, 顧客補足No, 顧客No, 補足名No, 補足内容, 備考, 登録スタッフNo, 登録日時, 更新スタッフNo, 更新日時 FROM H05顧客補足 WHERE (顧客補足No = @顧客補足No)";
            this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@補足名No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "補足名No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@補足内容", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "補足内容", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@備考", global::System.Data.SqlDbType.VarChar, 2000, global::System.Data.ParameterDirection.Input, 0, 0, "備考", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@更新スタッフNo", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "更新スタッフNo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客補足No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客補足No", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::顧客分析君.Properties.Settings.Default.KB;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = "SELECT                  0 AS 新規, 0 AS 変更, 0 AS 削除, 顧客補足No, 顧客No, 補足名No, 補足内容, 備考," +
                " 登録スタッフNo, 登録日時, 更新スタッフNo, 更新日時\r\nFROM                     H05顧客補足";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[1].Connection = this.Connection;
            this._commandCollection[1].CommandText = "SELECT\r\n\t0 AS 新規, \r\n\t0 AS 変更, \r\n\t0 AS 削除, \r\n\t顧客補足No, \r\n\t顧客No, \r\n\t補足名No, \r\n\t補足内容, " +
                "\r\n\t備考, \r\n\t登録スタッフNo, \r\n\t登録日時, \r\n\t更新スタッフNo, \r\n\t更新日時\r\nFROM\r\n\tH05顧客補足\r\nWHERE\r\n\t顧客No " +
                "= @顧客No\r\n";
            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客No", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "顧客No", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(D10顧客.D10顧客補足DataTable dataTable) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual D10顧客.D10顧客補足DataTable GetData() {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            D10顧客.D10顧客補足DataTable dataTable = new D10顧客.D10顧客補足DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
        public virtual int FillBy検索(D10顧客.D10顧客補足DataTable dataTable, int 顧客No) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(顧客No));
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
        public virtual D10顧客.D10顧客補足DataTable GetDataBy(int 顧客No) {
            this.Adapter.SelectCommand = this.CommandCollection[1];
            this.Adapter.SelectCommand.Parameters[0].Value = ((int)(顧客No));
            D10顧客.D10顧客補足DataTable dataTable = new D10顧客.D10顧客補足DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(D10顧客.D10顧客補足DataTable dataTable) {
            return this.Adapter.Update(dataTable);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(D10顧客 dataSet) {
            return this.Adapter.Update(dataSet, "D10顧客補足");
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow dataRow) {
            return this.Adapter.Update(new global::System.Data.DataRow[] {
                        dataRow});
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        public virtual int Update(global::System.Data.DataRow[] dataRows) {
            return this.Adapter.Update(dataRows);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
        public virtual int Delete(int 顧客補足No) {
            this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(顧客補足No));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
            if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.DeleteCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.DeleteCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
        public virtual int Insert(int 顧客No, int 補足名No, string 補足内容, string 備考, int 登録スタッフNo) {
            this.Adapter.InsertCommand.Parameters[0].Value = ((int)(顧客No));
            this.Adapter.InsertCommand.Parameters[1].Value = ((int)(補足名No));
            if ((補足内容 == null)) {
                throw new global::System.ArgumentNullException("補足内容");
            }
            else {
                this.Adapter.InsertCommand.Parameters[2].Value = ((string)(補足内容));
            }
            if ((備考 == null)) {
                throw new global::System.ArgumentNullException("備考");
            }
            else {
                this.Adapter.InsertCommand.Parameters[3].Value = ((string)(備考));
            }
            this.Adapter.InsertCommand.Parameters[4].Value = ((int)(登録スタッフNo));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
            if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.InsertCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.InsertCommand.Connection.Close();
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
        public virtual int Update(int 顧客No, int 補足名No, string 補足内容, string 備考, int 更新スタッフNo, int 顧客補足No) {
            this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(顧客No));
            this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(補足名No));
            if ((補足内容 == null)) {
                throw new global::System.ArgumentNullException("補足内容");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(補足内容));
            }
            if ((備考 == null)) {
                throw new global::System.ArgumentNullException("備考");
            }
            else {
                this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(備考));
            }
            this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(更新スタッフNo));
            this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(顧客補足No));
            global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
            if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
                        != global::System.Data.ConnectionState.Open)) {
                this.Adapter.UpdateCommand.Connection.Open();
            }
            try {
                int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
                return returnValue;
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
                    this.Adapter.UpdateCommand.Connection.Close();
                }
            }
        }
    }
    
    /// <summary>
    ///Represents the connection and commands used to retrieve and save data.
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DataObjectAttribute(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
        ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
    public partial class D10顧客検索ta : global::System.ComponentModel.Component {
        
        private global::System.Data.SqlClient.SqlDataAdapter _adapter;
        
        private global::System.Data.SqlClient.SqlConnection _connection;
        
        private global::System.Data.SqlClient.SqlTransaction _transaction;
        
        private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
        
        private bool _clearBeforeFill;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public D10顧客検索ta() {
            this.ClearBeforeFill = true;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
            get {
                if ((this._adapter == null)) {
                    this.InitAdapter();
                }
                return this._adapter;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlConnection Connection {
            get {
                if ((this._connection == null)) {
                    this.InitConnection();
                }
                return this._connection;
            }
            set {
                this._connection = value;
                if ((this.Adapter.InsertCommand != null)) {
                    this.Adapter.InsertCommand.Connection = value;
                }
                if ((this.Adapter.DeleteCommand != null)) {
                    this.Adapter.DeleteCommand.Connection = value;
                }
                if ((this.Adapter.UpdateCommand != null)) {
                    this.Adapter.UpdateCommand.Connection = value;
                }
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    if ((this.CommandCollection[i] != null)) {
                        ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
                    }
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal global::System.Data.SqlClient.SqlTransaction Transaction {
            get {
                return this._transaction;
            }
            set {
                this._transaction = value;
                for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
                    this.CommandCollection[i].Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.DeleteCommand != null))) {
                    this.Adapter.DeleteCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.InsertCommand != null))) {
                    this.Adapter.InsertCommand.Transaction = this._transaction;
                }
                if (((this.Adapter != null) 
                            && (this.Adapter.UpdateCommand != null))) {
                    this.Adapter.UpdateCommand.Transaction = this._transaction;
                }
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
            get {
                if ((this._commandCollection == null)) {
                    this.InitCommandCollection();
                }
                return this._commandCollection;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool ClearBeforeFill {
            get {
                return this._clearBeforeFill;
            }
            set {
                this._clearBeforeFill = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitAdapter() {
            this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
            global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
            tableMapping.SourceTable = "Table";
            tableMapping.DataSetTable = "D10顧客検索";
            tableMapping.ColumnMappings.Add("顧客No", "顧客No");
            tableMapping.ColumnMappings.Add("顧客ID", "顧客ID");
            tableMapping.ColumnMappings.Add("氏名", "氏名");
            tableMapping.ColumnMappings.Add("氏名カナ", "氏名カナ");
            tableMapping.ColumnMappings.Add("性別", "性別");
            tableMapping.ColumnMappings.Add("生年月日", "生年月日");
            tableMapping.ColumnMappings.Add("郵便番号", "郵便番号");
            tableMapping.ColumnMappings.Add("住所", "住所");
            tableMapping.ColumnMappings.Add("TEL", "TEL");
            tableMapping.ColumnMappings.Add("メルマガ許諾", "メルマガ許諾");
            tableMapping.ColumnMappings.Add("メールアドレス", "メールアドレス");
            tableMapping.ColumnMappings.Add("備考", "備考");
            tableMapping.ColumnMappings.Add("メルマガ許諾名", "メルマガ許諾名");
            tableMapping.ColumnMappings.Add("選択", "選択1");
            this._adapter.TableMappings.Add(tableMapping);
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitConnection() {
            this._connection = new global::System.Data.SqlClient.SqlConnection();
            this._connection.ConnectionString = global::顧客分析君.Properties.Settings.Default.KB;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitCommandCollection() {
            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
            this._commandCollection[0].Connection = this.Connection;
            this._commandCollection[0].CommandText = @"SELECT          0 AS 選択, M03顧客.顧客No, M03顧客.顧客ID, M03顧客.氏名, 
                      M03顧客.氏名カナ, M04属性_1.値 AS 性別, M03顧客.生年月日, 
                      M03顧客.郵便番号, M03顧客.住所, M03顧客.TEL, M03顧客.メルマガ許諾, 
                      M03顧客.メールアドレス, M03顧客.備考, 
                      M04属性.値 AS メルマガ許諾名
FROM            M03顧客 LEFT OUTER JOIN
                      M04属性 ON M03顧客.メルマガ許諾 = M04属性.属性No LEFT OUTER JOIN
                      M04属性 AS M04属性_1 ON M03顧客.性別 = M04属性_1.属性No
WHERE           (@顧客ID IS NULL OR
                      M03顧客.顧客ID LIKE '%' + @顧客ID + '%') AND (@氏名 IS NULL OR
                      M03顧客.氏名 LIKE '%' + @氏名 + '%') AND (@氏名カナ IS NULL OR
                      M03顧客.氏名カナ LIKE '%' + @氏名カナ + '%') AND (@性別 IS NULL OR
                      M03顧客.性別 = @性別) AND (@住所 IS NULL OR
                      M03顧客.住所 LIKE '' + @住所 + '%') AND (@郵便番号 IS NULL OR
                      M03顧客.郵便番号 LIKE '%' + @郵便番号 + '%') AND (@TEL IS NULL OR
                      M03顧客.TEL LIKE '%' + @TEL + '%') AND (@メールアドレス IS NULL OR
                      M03顧客.メールアドレス LIKE '%' + @メールアドレス + '%') AND 
                      (@生年月日 IS NULL OR
                      M03顧客.生年月日 = @生年月日) AND (@メルマガ許諾 IS NULL OR
                      M03顧客.メルマガ許諾 = @メルマガ許諾)
ORDER BY     M03顧客.顧客ID DESC";
            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@顧客ID", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "顧客ID", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@氏名カナ", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "氏名カナ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@性別", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "性別", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@生年月日", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "生年月日", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@郵便番号", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "郵便番号", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@住所", global::System.Data.SqlDbType.VarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "住所", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TEL", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "TEL", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メールアドレス", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "メールアドレス", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
            this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@メルマガ許諾", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "メルマガ許諾", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
        public virtual int Fill(D10顧客.D10顧客検索DataTable dataTable, string 顧客ID, string 氏名, string 氏名カナ, global::System.Nullable<int> 性別, global::System.Nullable<global::System.DateTime> 生年月日, string 郵便番号, string 住所, string TEL, string メールアドレス, global::System.Nullable<int> メルマガ許諾) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((顧客ID == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(顧客ID));
            }
            if ((氏名 == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(氏名));
            }
            if ((氏名カナ == null)) {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = ((string)(氏名カナ));
            }
            if ((性別.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[3].Value = ((int)(性別.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((生年月日.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(生年月日.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((郵便番号 == null)) {
                this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[5].Value = ((string)(郵便番号));
            }
            if ((住所 == null)) {
                this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[6].Value = ((string)(住所));
            }
            if ((TEL == null)) {
                this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[7].Value = ((string)(TEL));
            }
            if ((メールアドレス == null)) {
                this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[8].Value = ((string)(メールアドレス));
            }
            if ((メルマガ許諾.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[9].Value = ((int)(メルマガ許諾.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            if ((this.ClearBeforeFill == true)) {
                dataTable.Clear();
            }
            int returnValue = this.Adapter.Fill(dataTable);
            return returnValue;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
        public virtual D10顧客.D10顧客検索DataTable GetData(string 顧客ID, string 氏名, string 氏名カナ, global::System.Nullable<int> 性別, global::System.Nullable<global::System.DateTime> 生年月日, string 郵便番号, string 住所, string TEL, string メールアドレス, global::System.Nullable<int> メルマガ許諾) {
            this.Adapter.SelectCommand = this.CommandCollection[0];
            if ((顧客ID == null)) {
                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[0].Value = ((string)(顧客ID));
            }
            if ((氏名 == null)) {
                this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[1].Value = ((string)(氏名));
            }
            if ((氏名カナ == null)) {
                this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[2].Value = ((string)(氏名カナ));
            }
            if ((性別.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[3].Value = ((int)(性別.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
            }
            if ((生年月日.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[4].Value = ((System.DateTime)(生年月日.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
            }
            if ((郵便番号 == null)) {
                this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[5].Value = ((string)(郵便番号));
            }
            if ((住所 == null)) {
                this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[6].Value = ((string)(住所));
            }
            if ((TEL == null)) {
                this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[7].Value = ((string)(TEL));
            }
            if ((メールアドレス == null)) {
                this.Adapter.SelectCommand.Parameters[8].Value = global::System.DBNull.Value;
            }
            else {
                this.Adapter.SelectCommand.Parameters[8].Value = ((string)(メールアドレス));
            }
            if ((メルマガ許諾.HasValue == true)) {
                this.Adapter.SelectCommand.Parameters[9].Value = ((int)(メルマガ許諾.Value));
            }
            else {
                this.Adapter.SelectCommand.Parameters[9].Value = global::System.DBNull.Value;
            }
            D10顧客.D10顧客検索DataTable dataTable = new D10顧客.D10顧客検索DataTable();
            this.Adapter.Fill(dataTable);
            return dataTable;
        }
    }
    
    /// <summary>
    ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
    ///</summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [global::System.ComponentModel.DesignerCategoryAttribute("code")]
    [global::System.ComponentModel.ToolboxItem(true)]
    [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
        "esigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
    public partial class TableAdapterManager : global::System.ComponentModel.Component {
        
        private UpdateOrderOption _updateOrder;
        
        private D10顧客2ta _d10顧客2ta;
        
        private D10顧客補足ta _d10顧客補足ta;
        
        private bool _backupDataSetBeforeUpdate;
        
        private global::System.Data.IDbConnection _connection;
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public UpdateOrderOption UpdateOrder {
            get {
                return this._updateOrder;
            }
            set {
                this._updateOrder = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
            "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
            "", "System.Drawing.Design.UITypeEditor")]
        public D10顧客2ta D10顧客2ta {
            get {
                return this._d10顧客2ta;
            }
            set {
                this._d10顧客2ta = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
            "ft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" +
            "", "System.Drawing.Design.UITypeEditor")]
        public D10顧客補足ta D10顧客補足ta {
            get {
                return this._d10顧客補足ta;
            }
            set {
                this._d10顧客補足ta = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public bool BackupDataSetBeforeUpdate {
            get {
                return this._backupDataSetBeforeUpdate;
            }
            set {
                this._backupDataSetBeforeUpdate = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        public global::System.Data.IDbConnection Connection {
            get {
                if ((this._connection != null)) {
                    return this._connection;
                }
                if (((this._d10顧客2ta != null) 
                            && (this._d10顧客2ta.Connection != null))) {
                    return this._d10顧客2ta.Connection;
                }
                if (((this._d10顧客補足ta != null) 
                            && (this._d10顧客補足ta.Connection != null))) {
                    return this._d10顧客補足ta.Connection;
                }
                return null;
            }
            set {
                this._connection = value;
            }
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [global::System.ComponentModel.Browsable(false)]
        public int TableAdapterInstanceCount {
            get {
                int count = 0;
                if ((this._d10顧客2ta != null)) {
                    count = (count + 1);
                }
                if ((this._d10顧客補足ta != null)) {
                    count = (count + 1);
                }
                return count;
            }
        }
        
        /// <summary>
        ///Update rows in top-down order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private int UpdateUpdatedRows(D10顧客 dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            int result = 0;
            if ((this._d10顧客補足ta != null)) {
                global::System.Data.DataRow[] updatedRows = dataSet.D10顧客補足.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
                if (((updatedRows != null) 
                            && (0 < updatedRows.Length))) {
                    result = (result + this._d10顧客補足ta.Update(updatedRows));
                    allChangedRows.AddRange(updatedRows);
                }
            }
            if ((this._d10顧客2ta != null)) {
                global::System.Data.DataRow[] updatedRows = dataSet.D10顧客2.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
                if (((updatedRows != null) 
                            && (0 < updatedRows.Length))) {
                    result = (result + this._d10顧客2ta.Update(updatedRows));
                    allChangedRows.AddRange(updatedRows);
                }
            }
            return result;
        }
        
        /// <summary>
        ///Insert rows in top-down order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private int UpdateInsertedRows(D10顧客 dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            int result = 0;
            if ((this._d10顧客補足ta != null)) {
                global::System.Data.DataRow[] addedRows = dataSet.D10顧客補足.Select(null, null, global::System.Data.DataViewRowState.Added);
                if (((addedRows != null) 
                            && (0 < addedRows.Length))) {
                    result = (result + this._d10顧客補足ta.Update(addedRows));
                    allAddedRows.AddRange(addedRows);
                }
            }
            if ((this._d10顧客2ta != null)) {
                global::System.Data.DataRow[] addedRows = dataSet.D10顧客2.Select(null, null, global::System.Data.DataViewRowState.Added);
                if (((addedRows != null) 
                            && (0 < addedRows.Length))) {
                    result = (result + this._d10顧客2ta.Update(addedRows));
                    allAddedRows.AddRange(addedRows);
                }
            }
            return result;
        }
        
        /// <summary>
        ///Delete rows in bottom-up order.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private int UpdateDeletedRows(D10顧客 dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
            int result = 0;
            if ((this._d10顧客2ta != null)) {
                global::System.Data.DataRow[] deletedRows = dataSet.D10顧客2.Select(null, null, global::System.Data.DataViewRowState.Deleted);
                if (((deletedRows != null) 
                            && (0 < deletedRows.Length))) {
                    result = (result + this._d10顧客2ta.Update(deletedRows));
                    allChangedRows.AddRange(deletedRows);
                }
            }
            if ((this._d10顧客補足ta != null)) {
                global::System.Data.DataRow[] deletedRows = dataSet.D10顧客補足.Select(null, null, global::System.Data.DataViewRowState.Deleted);
                if (((deletedRows != null) 
                            && (0 < deletedRows.Length))) {
                    result = (result + this._d10顧客補足ta.Update(deletedRows));
                    allChangedRows.AddRange(deletedRows);
                }
            }
            return result;
        }
        
        /// <summary>
        ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
            if (((updatedRows == null) 
                        || (updatedRows.Length < 1))) {
                return updatedRows;
            }
            if (((allAddedRows == null) 
                        || (allAddedRows.Count < 1))) {
                return updatedRows;
            }
            global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
                global::System.Data.DataRow row = updatedRows[i];
                if ((allAddedRows.Contains(row) == false)) {
                    realUpdatedRows.Add(row);
                }
            }
            return realUpdatedRows.ToArray();
        }
        
        /// <summary>
        ///Update all changes to the dataset.
        ///</summary>
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public virtual int UpdateAll(D10顧客 dataSet) {
            if ((dataSet == null)) {
                throw new global::System.ArgumentNullException("dataSet");
            }
            if ((dataSet.HasChanges() == false)) {
                return 0;
            }
            if (((this._d10顧客2ta != null) 
                        && (this.MatchTableAdapterConnection(this._d10顧客2ta.Connection) == false))) {
                throw new global::System.ArgumentException("TableAdapterManager で管理されるすべての TableAdapter は同一の接続文字列を使用する必要があります。");
            }
            if (((this._d10顧客補足ta != null) 
                        && (this.MatchTableAdapterConnection(this._d10顧客補足ta.Connection) == false))) {
                throw new global::System.ArgumentException("TableAdapterManager で管理されるすべての TableAdapter は同一の接続文字列を使用する必要があります。");
            }
            global::System.Data.IDbConnection workConnection = this.Connection;
            if ((workConnection == null)) {
                throw new global::System.ApplicationException("TableAdapterManager には接続情報がありません。それぞれの TableAdapterManager TableAdapter プロパティを有効な" +
                        " TableAdapter インスタンスに設定してください。");
            }
            bool workConnOpened = false;
            if (((workConnection.State & global::System.Data.ConnectionState.Broken) 
                        == global::System.Data.ConnectionState.Broken)) {
                workConnection.Close();
            }
            if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
                workConnection.Open();
                workConnOpened = true;
            }
            global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
            if ((workTransaction == null)) {
                throw new global::System.ApplicationException("トランザクションを開始できません。現在のデータ接続がトランザクションをサポートしていないか、または現在の状態がトランザクションの開始を許可していません。");
            }
            global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
            global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
            global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
            int result = 0;
            global::System.Data.DataSet backupDataSet = null;
            if (this.BackupDataSetBeforeUpdate) {
                backupDataSet = new global::System.Data.DataSet();
                backupDataSet.Merge(dataSet);
            }
            try {
                // ---- Prepare for update -----------
                //
                if ((this._d10顧客2ta != null)) {
                    revertConnections.Add(this._d10顧客2ta, this._d10顧客2ta.Connection);
                    this._d10顧客2ta.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
                    this._d10顧客2ta.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
                    if (this._d10顧客2ta.Adapter.AcceptChangesDuringUpdate) {
                        this._d10顧客2ta.Adapter.AcceptChangesDuringUpdate = false;
                        adaptersWithAcceptChangesDuringUpdate.Add(this._d10顧客2ta.Adapter);
                    }
                }
                if ((this._d10顧客補足ta != null)) {
                    revertConnections.Add(this._d10顧客補足ta, this._d10顧客補足ta.Connection);
                    this._d10顧客補足ta.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
                    this._d10顧客補足ta.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
                    if (this._d10顧客補足ta.Adapter.AcceptChangesDuringUpdate) {
                        this._d10顧客補足ta.Adapter.AcceptChangesDuringUpdate = false;
                        adaptersWithAcceptChangesDuringUpdate.Add(this._d10顧客補足ta.Adapter);
                    }
                }
                // 
                //---- Perform updates -----------
                //
                if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
                    result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
                    result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
                }
                else {
                    result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
                    result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
                }
                result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
                // 
                //---- Commit updates -----------
                //
                workTransaction.Commit();
                if ((0 < allAddedRows.Count)) {
                    global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
                    allAddedRows.CopyTo(rows);
                    for (int i = 0; (i < rows.Length); i = (i + 1)) {
                        global::System.Data.DataRow row = rows[i];
                        row.AcceptChanges();
                    }
                }
                if ((0 < allChangedRows.Count)) {
                    global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
                    allChangedRows.CopyTo(rows);
                    for (int i = 0; (i < rows.Length); i = (i + 1)) {
                        global::System.Data.DataRow row = rows[i];
                        row.AcceptChanges();
                    }
                }
            }
            catch (global::System.Exception ex) {
                workTransaction.Rollback();
                // ---- Restore the dataset -----------
                if (this.BackupDataSetBeforeUpdate) {
                    global::System.Diagnostics.Debug.Assert((backupDataSet != null));
                    dataSet.Clear();
                    dataSet.Merge(backupDataSet);
                }
                else {
                    if ((0 < allAddedRows.Count)) {
                        global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
                        allAddedRows.CopyTo(rows);
                        for (int i = 0; (i < rows.Length); i = (i + 1)) {
                            global::System.Data.DataRow row = rows[i];
                            row.AcceptChanges();
                            row.SetAdded();
                        }
                    }
                }
                throw ex;
            }
            finally {
                if (workConnOpened) {
                    workConnection.Close();
                }
                if ((this._d10顧客2ta != null)) {
                    this._d10顧客2ta.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._d10顧客2ta]));
                    this._d10顧客2ta.Transaction = null;
                }
                if ((this._d10顧客補足ta != null)) {
                    this._d10顧客補足ta.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._d10顧客補足ta]));
                    this._d10顧客補足ta.Transaction = null;
                }
                if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
                    global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
                    adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
                    for (int i = 0; (i < adapters.Length); i = (i + 1)) {
                        global::System.Data.Common.DataAdapter adapter = adapters[i];
                        adapter.AcceptChangesDuringUpdate = true;
                    }
                }
            }
            return result;
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
            global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
        }
        
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
            if ((this._connection != null)) {
                return true;
            }
            if (((this.Connection == null) 
                        || (inputConnection == null))) {
                return true;
            }
            if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
                return true;
            }
            return false;
        }
        
        /// <summary>
        ///Update Order Option
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public enum UpdateOrderOption {
            
            InsertUpdateDelete = 0,
            
            UpdateInsertDelete = 1,
        }
        
        /// <summary>
        ///Used to sort self-referenced table's rows
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
            
            private global::System.Data.DataRelation _relation;
            
            private int _childFirst;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
                this._relation = relation;
                if (childFirst) {
                    this._childFirst = -1;
                }
                else {
                    this._childFirst = 1;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private bool IsChildAndParent(global::System.Data.DataRow child, global::System.Data.DataRow parent) {
                global::System.Diagnostics.Debug.Assert((child != null));
                global::System.Diagnostics.Debug.Assert((parent != null));
                global::System.Data.DataRow newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
                for (
                ; ((newParent != null) 
                            && ((object.ReferenceEquals(newParent, child) == false) 
                            && (object.ReferenceEquals(newParent, parent) == false))); 
                ) {
                    newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
                }
                if ((newParent == null)) {
                    for (newParent = child.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original); ((newParent != null) 
                                && ((object.ReferenceEquals(newParent, child) == false) 
                                && (object.ReferenceEquals(newParent, parent) == false))); 
                    ) {
                        newParent = newParent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
                    }
                }
                if (object.ReferenceEquals(newParent, parent)) {
                    return true;
                }
                return false;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
                if (object.ReferenceEquals(row1, row2)) {
                    return 0;
                }
                if ((row1 == null)) {
                    return -1;
                }
                if ((row2 == null)) {
                    return 1;
                }

                // Is row1 the child or grandchild of row2
                if (this.IsChildAndParent(row1, row2)) {
                    return this._childFirst;
                }

                // Is row2 the child or grandchild of row1
                if (this.IsChildAndParent(row2, row1)) {
                    return (-1 * this._childFirst);
                }
                return 0;
            }
        }
    }
}

#pragma warning restore 1591