The PgSqlCommand statement has a Transaction property that the documentation states:
Does this mean that if a command is executed without setting this property, the command is executed outside the current transaction even though it is executed after the begintransaction and before the commit ?Gets or sets the DbTransaction within which this DbCommand object executes
Could this be the cause of my problem? Has anyone else had this kind of problem when committing transactions?
Any advice/help would be gratefully received.