public void Can_Create_BinaryDataList_With_ColumnIODirection_Input() { ErrorResultTO errors; var shape = new StringBuilder(@"<DataList><recset Description="""" IsEditable=""True"" ColumnIODirection=""Input"" ><f1 Description="""" IsEditable=""True"" ColumnIODirection=""Input"" /><f2 Description="""" IsEditable=""True"" ColumnIODirection=""Input"" /><f3 Description="""" IsEditable=""True"" ColumnIODirection=""Input"" /><f4 Description="""" IsEditable=""True"" ColumnIODirection=""Input"" /><f5 Description="""" IsEditable=""True"" ColumnIODirection=""Input"" /></recset><myScalar Description="""" IsEditable=""True"" ColumnIODirection=""Input"" /></DataList>"); Guid tmp = _compiler.ConvertTo(DataListFormat.CreateFormat(GlobalConstants._Studio_XML), shape, shape, out errors); IBinaryDataList bdl = _compiler.FetchBinaryDataList(tmp, out errors); _compiler.DeleteDataListByID(tmp); foreach (IBinaryDataListEntry entry in bdl.FetchAllEntries()) { if (entry.IsRecordset) { Assert.AreEqual(entry.ColumnIODirection, enDev2ColumnArgumentDirection.Input); foreach (Dev2Column c in entry.Columns) { Assert.AreEqual(enDev2ColumnArgumentDirection.Input, c.ColumnIODirection); } } else { Assert.AreEqual(enDev2ColumnArgumentDirection.Input, entry.ColumnIODirection); } } _compiler.ForceDeleteDataListByID(tmp); }