System.Data.Common.DbCommand.GenerateInsertsForSqlServer(System.Collections.Generic.List, string)

Here are the examples of the csharp api class System.Data.Common.DbCommand.GenerateInsertsForSqlServer(System.Collections.Generic.List, string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
public static DatabaseCommand GenerateInsertsForSqlServer<T>( this DatabaseCommand databaseCommand, List<T> listOfObjects, string tableName = null )
        {
            databaseCommand.DbCommand.GenerateInsertsForSqlServer( listOfObjects, tableName );

            return databaseCommand;
        }