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

Here are the examples of the csharp api class System.Data.Common.DbCommand.GenerateInsertsForPostgreSQL(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 GenerateInsertsForPostgreSQL<T>(this DatabaseCommand databaseCommand, List<T> listOfObjects, string tableName = null)
        {
            databaseCommand.DbCommand.GenerateInsertsForPostgreSQL(listOfObjects, tableName);

            return databaseCommand;
        }