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