Class DataAccessParameter
- Namespace
- JJMasterData.Commons.Data
- Assembly
- JJMasterData.Commons.dll
public class DataAccessParameter
- Inheritance
-
DataAccessParameter
- Inherited Members
Constructors
DataAccessParameter()
public DataAccessParameter()
DataAccessParameter(string, DateTime)
public DataAccessParameter(string name, DateTime value)
Parameters
DataAccessParameter(string, int)
public DataAccessParameter(string name, int value)
Parameters
DataAccessParameter(string, object, DbType)
public DataAccessParameter(string name, object value, DbType type)
Parameters
DataAccessParameter(string, object, DbType, ParameterDirection)
public DataAccessParameter(string name, object value, DbType type, ParameterDirection direction)
Parameters
name
stringvalue
objecttype
DbTypedirection
ParameterDirection
DataAccessParameter(string, object, DbType, int)
public DataAccessParameter(string name, object value, DbType type, int size)
Parameters
DataAccessParameter(string, object, DbType, int, ParameterDirection)
public DataAccessParameter(string name, object value, DbType type, int size, ParameterDirection direction)
Parameters
name
stringvalue
objecttype
DbTypesize
intdirection
ParameterDirection
DataAccessParameter(string, float)
public DataAccessParameter(string name, float value)
Parameters
DataAccessParameter(string, string)
public DataAccessParameter(string name, string value)
Parameters
Properties
Direction
[JsonProperty("direction")]
public ParameterDirection Direction { get; set; }
Property Value
IsNullable
public bool IsNullable { get; set; }
Property Value
Name
Name of the parameter. Example MSSQL: @Foo ORACLE: p_foo
[JsonProperty("name")]
public string Name { get; set; }
Property Value
Size
Field size. For numbers is optional.
[JsonProperty("size")]
public int? Size { get; set; }
Property Value
- int?
Type
Specifies the data type of field, a property, or a Parameter object of a .NET
[JsonProperty("type")]
public DbType Type { get; set; }
Property Value
Value
Value of the parameter. To send null, use DBNull.Value
[JsonProperty("value")]
public object Value { get; set; }
Property Value
Methods
DeepCopy()
public DataAccessParameter DeepCopy()