could not determine data type of parameter $1
Posted: Wed 23 Jun 2010 20:19
I am using dotconnect for postgresql and I am trying to use LINQ to call the the Postgresql funciton pg_column_size to determine the size my string is going to take up on the database.
Here is a sampel of the code I am using
Here is a sampel of the code I am using
Code: Select all
IEnumerable mysize = context.ExecuteQuery("select pg_column_size({0});","test");
foreach (var item in mysize)
{
contentSize = item;
}
}