示例#1
0
        public bool CreateFileNameTable()
        {
            if (ScriptTransactionsComparer.CompareAll(_s1, _s2))
            {
                var fileNameTable = new DataTable()
                {
                    TableName = "FileNameTable"
                };
                fileNameTable.Columns.AddRange(new DataColumn[]
                {
                    new DataColumn(_s1Name),
                    new DataColumn(_s2Name)
                });

                DataSet.Tables.Add(fileNameTable);
                return(true);
            }
            else
            {
                return(false);
            }
        }