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

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

            return(masterTableAdapter);
        }
Beispiel #2
0
        public MasterTableDataAdapterBuilder <TItem> WithDetailTableDataAdapter(ITableDataAdapter tableDataAdapter)
        {
            masterTableDataAdapter.AddDetailTableSet(tableDataAdapter);

            return(this);
        }