System.Data.Tests.DataSetTest2.privateTestCase C# (CSharp) Method

privateTestCase() private method

private privateTestCase ( string name, string toTable, string toTestSelect, string toCompareTable, string toCompareSelect, string AssertTag ) : void
name string
toTable string
toTestSelect string
toCompareTable string
toCompareSelect string
AssertTag string
return void
        private void privateTestCase(string name, string toTable, string toTestSelect, string toCompareTable, string toCompareSelect, string AssertTag)
        {
            DataRow drToTest = _ds.Tables[toTable].Select(toTestSelect)[0];
            DataRow drToCompare = _ds.Tables[toCompareTable].Select(toCompareSelect)[0];
            Assert.Equal(_ds.Tables[toTable].Select(toTestSelect)[0]["Stock_Id"], _ds.Tables[toCompareTable].Select(toCompareSelect)[0]["Stock_Id"]);
        }
DataSetTest2