コード例 #1
0
        public override object Clone()
        {
            var masterTableAdapter = new MasterTableDataAdapter <TItem>(gridConfigurationProvider, tableDataAdapterProvider, mainTableDataAdapter);

            detailTableDataAdapters.ForEach(adapter => masterTableAdapter.AddDetailTableSet(adapter));

            return(masterTableAdapter);
        }
コード例 #2
0
        public MasterTableDataAdapterBuilder <TItem> MasterTableDataAdapter(LazyLoadedTableDataAdapter <TItem> mainTableDataAdapter)
        {
            masterTableDataAdapter = new MasterTableDataAdapter <TItem>(gridConfigurationProvider, tableDataAdapterProvider, mainTableDataAdapter);

            return(this);
        }
コード例 #3
0
        public MasterTableDataAdapterBuilder <TItem> MasterTableDataAdapter(CollectionTableDataAdapter <TItem> mainTableDataAdapter)
        {
            _masterTableDataAdapter = new MasterTableDataAdapter <TItem>(_gridConfigurationProvider, _tableDataAdapterProvider, mainTableDataAdapter);

            return(this);
        }