dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlParameter Class / RowTypeName Property

In This Topic
RowTypeName Property
In This Topic
Sets name of parameter type in case of PostgreSQL composite value passed as string.
Syntax
'Declaration
 
Public Property RowTypeName As String
 

Property Value

Name of composite type of Devart.Common.DbParameterBase.Value.
Remarks

The RowType and RowTypeName properties are linked. Therefore, setting the RowType changes the RowTypeName to value of PgSqlRowType.Name property. When you set RowTypeName property, RowType becomes a null reference (Nothing in Visual Basic).

The RowType property can be used when you provide data as string and want to have it parsed as certain composite type. The other way to pass a PgSqlRow as parameter value is to assign a PgSqlRow object directly to Devart.Common.DbParameterBase.Value property.

See Also