1 instantiation of MetaForeignKeyColumn
System.Web.DynamicData (1)
DynamicData\MetaTable.cs (1)
416return new MetaForeignKeyColumn(this, columnProvider);
41 references to MetaForeignKeyColumn
System.Web.DynamicData (41)
DynamicData\ControlFilterExpression.cs (4)
63MetaForeignKeyColumn column = (MetaForeignKeyColumn)table.GetColumn(Column); 114private IEnumerable<Parameter> GetForeignKeyControlParameters(Control control, MetaForeignKeyColumn column) { 121private static Dictionary<string, MetaColumn> CreateColumnMapping(MetaForeignKeyColumn column, IList<MetaColumn> columns) {
DynamicData\DynamicControlParameter.cs (3)
82else if (column is MetaForeignKeyColumn) { 83return GetForeignKeyControlWhereParameters(control, paramTarget, (MetaForeignKeyColumn)column); 122IControlParameterTarget paramTarget, MetaForeignKeyColumn column) {
DynamicData\DynamicValidator.cs (3)
113if (Column is MetaForeignKeyColumn || Column is MetaChildrenColumn) { 260var fkColumn = column as MetaForeignKeyColumn;
DynamicData\FieldTemplateFactory.cs (3)
132if (column is MetaForeignKeyColumn) { 184if (column is MetaForeignKeyColumn) { 187if (mode == DataBoundControlMode.Edit && ((MetaForeignKeyColumn)column).IsPrimaryKeyInThisTable) {
DynamicData\FieldTemplateUserControl.cs (5)
82public MetaForeignKeyColumn ForeignKeyColumn { 84var foreignKeyColumn = Column as MetaForeignKeyColumn; 309if (Column is MetaForeignKeyColumn) { 331if (Column is MetaForeignKeyColumn) {
DynamicData\FilterFactory.cs (1)
41if (column is MetaForeignKeyColumn) {
DynamicData\FilterRepeater.cs (1)
196if (column is MetaForeignKeyColumn) return true;
DynamicData\FilterUserControlBase.cs (6)
61var fkColumn = Column as MetaForeignKeyColumn; 189if (_column is MetaForeignKeyColumn) { 335FilterTable = ((MetaForeignKeyColumn)filterControl.Column).ParentTable; 349var fkColumn = (MetaForeignKeyColumn)FilterUserControl.Column;
DynamicData\MetaChildrenColumn.cs (2)
109var fkColumn = ColumnInOtherTable as MetaForeignKeyColumn;
DynamicData\MetaTable.cs (4)
137var fkColumnNamesArray = Columns.OfType<MetaForeignKeyColumn>().Select(column => column.Name).ToArray(); 415protected virtual MetaForeignKeyColumn CreateForeignKeyColumn(ColumnProvider columnProvider) { 863MetaForeignKeyColumn foreignKeyColumn = column as MetaForeignKeyColumn;
DynamicData\QueryableFilterUserControl.cs (6)
46if (Column is MetaForeignKeyColumn) { 47MetaTable FilterTable = ((MetaForeignKeyColumn)Column).ParentTable; 80MetaForeignKeyColumn foreignKeyColumn = Column as MetaForeignKeyColumn; 99MetaForeignKeyColumn foreignKeyColumn = Column as MetaForeignKeyColumn;
DynamicData\Util\RouteParametersHelper.cs (3)
22var fkColumn = column as MetaForeignKeyColumn; 33internal static IEnumerable<Parameter> GetForeignKeyParameters(MetaForeignKeyColumn fkColumn) {