Files
BeWoPlaner/Data/Entities/Parameter.cs
Christian 831c8b83aa - Prüfung der Rechte für Queries für fehlende Unterschriften eingebaut.
- DefaultValue in Paramter Klasse eingefügt
- Queries für fehlende Unterschriften hinzugefügt
2025-02-26 00:24:17 +01:00

76 lines
1.6 KiB
C#

using System.Data;
using BS.Shared;
namespace BeWo.Data.Entities
{
public class Parameter : BeWoEntityBase
{
public static string PropertyName_DbType = "DbType";
public static string PropertyName_Name = "Name";
public static string PropertyName_Type = "Type";
private DbType _DbType;
private string _Name;
private QueryParameterType _Type;
public Parameter()
{
this._Tid = TableID.Parameter;
}
public virtual DbType DbType
{
get
{
return this._DbType;
}
set
{
if (this.AreDifferent(this._DbType, value))
{
this._DbType = value;
}
}
}
public virtual string Name
{
get
{
return this._Name;
}
set
{
if (this.AreDifferent(this._Name, value))
{
this._Name = value;
}
}
}
public virtual QueryParameterType Type
{
get
{
return this._Type;
}
set
{
if (this.AreDifferent(this._Type, value))
{
this._Type = value;
}
}
}
public virtual string DefaultValue { get; set; }
}
}