public override object Clone() { var masterTableAdapter = new MasterTableDataAdapter <TItem>(gridConfigurationProvider, tableDataAdapterProvider, mainTableDataAdapter); detailTableDataAdapters.ForEach(adapter => masterTableAdapter.AddDetailTableSet(adapter)); return(masterTableAdapter); }
public MasterTableDataAdapterBuilder <TItem> MasterTableDataAdapter(LazyLoadedTableDataAdapter <TItem> mainTableDataAdapter) { masterTableDataAdapter = new MasterTableDataAdapter <TItem>(gridConfigurationProvider, tableDataAdapterProvider, mainTableDataAdapter); return(this); }
public MasterTableDataAdapterBuilder <TItem> MasterTableDataAdapter(CollectionTableDataAdapter <TItem> mainTableDataAdapter) { _masterTableDataAdapter = new MasterTableDataAdapter <TItem>(_gridConfigurationProvider, _tableDataAdapterProvider, mainTableDataAdapter); return(this); }