PetaPoco.Factory Class Reference

Static Public Member Functions

static IEnumerable< T > Get< T > (string catalog, string sql, params object[] args)
 
static IEnumerable< T > Get< T > (string catalog, Sql sql)
 
static object Insert (string catalog, object poco, string tableName="", string primaryKeyName="")
 
static object Update (string catalog, object poco, object primaryKeyValue, string tableName="", string primaryKeyName="")
 
static T Scalar< T > (string catalog, string sql, params object[] args)
 
static T Scalar< T > (string catalog, Sql sql)
 
static void NonQuery (string catalog, string sql, params object[] args)
 
static string GetDBErrorResource (NpgsqlException ex)
 
static string GetConnectionString (string catalog="")
 

Public Attributes

const string ProviderName = "Npgsql"
 

Static Public Attributes

static string MetaDatabase = ConfigurationHelper.GetDbServerParameter("MetaDatabase")
 

The documentation for this class was generated from the following file: