Skip to main content

PgSql

Assembly: ServiceStack.OrmLite.PostgreSQL.dll​
View Source​
Declaration
public static class PgSql

Methods​

Param<T>(String, T)​

View Source​
Declaration
public static NpgsqlParameter Param<T>(string name, T value)
Returns​

NpgsqlParameter

Parameters​
TypeName
System.Stringname
<T>value
Type Parameters​
  • T

Array<T>(T[])​

View Source​
Declaration
public static string Array<T>(params T[] items)
Returns​

System.String

Parameters​
TypeName
<T>[]items
Type Parameters​
  • T

Array<T>(T[], Boolean)​

View Source​
Declaration
public static string Array<T>(T[] items, bool nullIfEmpty)
Returns​

System.String

Parameters​
TypeName
<T>[]items
System.BooleannullIfEmpty
Type Parameters​
  • T