System.Data.Tests.DataSetInferXmlSchemaTest.SingleElementWithTwoAttribute C# (CSharp) Метод

SingleElementWithTwoAttribute() приватный Метод

private SingleElementWithTwoAttribute ( ) : void
Результат void
        public void SingleElementWithTwoAttribute()
        {
            DataSet ds = GetDataSet(_xml3, null);
            AssertDataSet("ds", ds, "NewDataSet", 1, 0);
            DataTable dt = ds.Tables[0];
            AssertDataTable("dt", dt, "root", 2, 0, 0, 0, 0, 0);
            AssertDataColumn("col", dt.Columns[0], "attr", true, false, 0, 1, "attr", MappingType.Attribute, typeof(string), DBNull.Value, string.Empty, -1, string.Empty, 0, string.Empty, false, false);
            AssertDataColumn("col", dt.Columns[1], "attr2", true, false, 0, 1, "attr2", MappingType.Attribute, typeof(string), DBNull.Value, string.Empty, -1, string.Empty, 1, string.Empty, false, false);
        }