Class PgParameterExtensions
Inheritance
System.Object
PgParameterExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ArgentSea.Pg
Assembly: ArgentSea.Pg.dll
Syntax
public static class PgParameterExtensions
Methods
| Improve this Doc View SourceGetArray<T>(DbParameter)
Gets an array from the output parameter, or null if the parameter value is DbNull.
Declaration
public static T[] GetArray<T>(this DbParameter prm)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Common.DbParameter | prm | The output parameter, populated with a value (after Execute). |
Returns
Type | Description |
---|---|
T[] | The parameter value as a typed array. |
Type Parameters
Name | Description |
---|---|
T |
GetHStore(DbParameter)
Gets an array from the output parameter, or null if the parameter value is DbNull.
Declaration
public static IDictionary<string, string> GetHStore(this DbParameter prm)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Common.DbParameter | prm | The output parameter, populated with a value (after Execute). |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | The parameter value as a typed array. |