示例#1
0
        public CollectionSelect <T> Setup <T>(Func <Setup <T>, CollectionSelect <T> > list)
        {
            CollectionSelect <T> tableSelect = list(new Setup <T>(this));

            return(tableSelect);
        }
示例#2
0
        /// <summary>
        /// Each transaction requires a valid setup. Examples available at: https://github.com/gtaylor44/SqlBulkTools
        /// </summary>
        /// <typeparam name="T">The type of collection to be used.</typeparam>
        /// <param name="list"></param>
        /// <returns></returns>
        public CollectionSelect <T> Setup <T>(Func <Setup <T>, CollectionSelect <T> > list)
        {
            CollectionSelect <T> tableSelect = list(new Setup <T>(SourceAlias, TargetAlias, this));

            return(tableSelect);
        }