init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
81
Sda.DataProvider/SDACommandParameter.cs
Normal file
81
Sda.DataProvider/SDACommandParameter.cs
Normal file
|
@ -0,0 +1,81 @@
|
|||
using System.Data;
|
||||
using SDA.DataProvider.Core;
|
||||
|
||||
namespace SDA.DataProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Adatbázis-parancs paramétere.
|
||||
/// </summary>
|
||||
public class SDACommandParameter
|
||||
{
|
||||
internal SDACommandParameterWrapper Parameter;
|
||||
|
||||
protected SDACommandParameter()
|
||||
{ }
|
||||
|
||||
internal SDACommandParameter(SDACommandParameterWrapper parameter)
|
||||
{
|
||||
Parameter = parameter;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A paraméter típusa.
|
||||
/// </summary>
|
||||
public SDADBType DBType
|
||||
{
|
||||
get
|
||||
{
|
||||
return Parameter.DBType;
|
||||
}
|
||||
set
|
||||
{
|
||||
Parameter.DBType = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A paraméter értéke
|
||||
/// </summary>
|
||||
public virtual object Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return Parameter.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
Parameter.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A paraméter neve.
|
||||
/// </summary>
|
||||
public string ParameterName
|
||||
{
|
||||
get
|
||||
{
|
||||
return Parameter.ParameterName;
|
||||
}
|
||||
set
|
||||
{
|
||||
Parameter.ParameterName = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A paraméter iránya.
|
||||
/// </summary>
|
||||
public ParameterDirection Direction
|
||||
{
|
||||
get
|
||||
{
|
||||
return Parameter.Direction;
|
||||
}
|
||||
set
|
||||
{
|
||||
Parameter.Direction = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue