mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* MetaTableTest.cs: tests use single data model provider now. Implemented tests for IsReadOnly, ListActionPath, Model, Name, Provider, Scaffold, SortColumn, SortDescending, ToString. Fixed ForeignKeyColumnNames test. 2009-06-12 Marek Habersack <[email protected]> * TestDataContainer.cs: GetTables uses an object of the associated data type to create table collection. * TestDataColumn.cs: foreign key columns are determined using a custom attribute instead of a name now. This makes it possible to specify which table.column they are associated with. * FooDisplayColumnAttribute.cs: changed sortDescending to true in class attributes. * AssociatedBar.cs, AssociatedFoo.cs, FooEmptySortColumn.cs, FooMisnamedSortColumn.cs, FooNoScaffold.cs, FooReadOnly.cs, ITestDataContext.cs, TestDataContext.cs: added 2009-06-12 Marek Habersack <[email protected]> * MetaTable.cs: implemented correct detection of foreign key columns. Implemented IsReadOnly, SortColumn, SortDescending. svn path=/trunk/mcs/; revision=135997
14 lines
251 B
C#
14 lines
251 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MonoTests.Common
|
|
{
|
|
[DisplayColumn ("NoSuchColumn", "NoSuchColumn")]
|
|
class FooMisnamedSortColumn
|
|
{
|
|
}
|
|
}
|